diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee1869a..73b6384 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: CI on: pull_request: + paths-ignore: + - '**.md' push: paths-ignore: - '**.md' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..703bb22 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Test + +on: + pull_request: + paths-ignore: + - '**.md' + push: + paths-ignore: + - '**.md' + +jobs: + test: + runs-on: ubuntu-latest + env: + NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" + steps: + - uses: cachix/install-nix-action@v12 + - uses: actions/checkout@v1 + - run: | + make -C tests