aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-06-09 20:30:10 +0200
committerRobert Helgesson <robert@rycee.net>2020-06-09 20:48:22 +0200
commit5a97bf30d498e84de87bc247b6fa4f4115b68c6d (patch)
tree95215fe8070a5045c71eac371827ddf142a6124e /.github
parentb33802ca7f0675fa8f64dd0f322ab7a57e45ba6a (diff)
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml17
1 files changed, 17 insertions, 0 deletions
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