1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-25 07:58:31 +02:00

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.
This commit is contained in:
Robert Helgesson 2020-06-09 20:30:10 +02:00
parent b33802ca7f
commit 5a97bf30d4
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
2 changed files with 17 additions and 9 deletions

17
.github/workflows/test.yml vendored Normal file
View File

@ -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

View File

@ -1,9 +0,0 @@
language: nix
os:
- linux
- osx
script:
- nix-shell . -A install
- nix-shell --pure --max-jobs 10 tests -A run.all