From 4b6d6c1f211a4274fa8fda4cb4d21ecbdf96bc11 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Thu, 2 Jan 2025 21:07:34 +0100 Subject: [PATCH] Add github actions workflow for CI tests --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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..2d29d94 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: "Test" +on: + pull_request: + push: + branches: + - main + schedule: + - cron: '42 7 * * *' +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v30 + - name: Execute unit tests + run: nix flake check