From 3d310fc4093b7db87bdd6d105479f2e7e0914391 Mon Sep 17 00:00:00 2001 From: kaichaosun Date: Fri, 5 Dec 2025 14:26:34 +0800 Subject: [PATCH 1/2] chore: add ci for tests --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ .gitignore | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0ce4637 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: test + +on: + pull_request: + branches: + - main + paths-ignore: + - '**README.md' + - '.gitignore' + - 'LICENSE' +jobs: + tests-tasks: + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Update + run: make update + - name: Tests + run: make tests + \ No newline at end of file diff --git a/.gitignore b/.gitignore index 49dea5b..c345e40 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,7 @@ waku_handler.moc.cpp # Nix build result result + +# App data +.registry/ +.savedkeys/ \ No newline at end of file From be906d7055d565f529886aa4f1cb720e6d9a50d3 Mon Sep 17 00:00:00 2001 From: kaichaosun Date: Sat, 6 Dec 2025 10:55:01 +0800 Subject: [PATCH 2/2] chore: clean format --- .github/workflows/test.yml | 1 - .gitignore | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ce4637..8eb7190 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,4 +21,3 @@ jobs: run: make update - name: Tests run: make tests - \ No newline at end of file diff --git a/.gitignore b/.gitignore index c345e40..5a3358e 100644 --- a/.gitignore +++ b/.gitignore @@ -90,4 +90,4 @@ result # App data .registry/ -.savedkeys/ \ No newline at end of file +.savedkeys/