diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..56696b4f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: "Test" +on: + pull_request: + push: +jobs: + tests: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v10 + with: + nix_path: nixpkgs=channel:nixos-unstable + - run: nix-shell . -A install + - run: nix-shell --pure --max-jobs 4 tests -A run.all diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c2599e92..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: nix - -os: - - linux - - osx - -script: - - nix-shell . -A install - - nix-shell --pure --max-jobs 10 tests -A run.all