From 5a97bf30d498e84de87bc247b6fa4f4115b68c6d Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 9 Jun 2020 20:30:10 +0200 Subject: ci: switch from Travis CI to GitHub Actions Unfortunately Travis CI seems stuck on Nix 2.0 on macOS, which no longer works with Nixpkgs unstable. --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/test.yml (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..56696b4fec6 --- /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 -- cgit v1.2.3