mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01: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:
parent
b33802ca7f
commit
5a97bf30d4
2 changed files with 17 additions and 9 deletions
17
.github/workflows/test.yml
vendored
Normal file
17
.github/workflows/test.yml
vendored
Normal 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
|
|
@ -1,9 +0,0 @@
|
|||
language: nix
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
script:
|
||||
- nix-shell . -A install
|
||||
- nix-shell --pure --max-jobs 10 tests -A run.all
|
Loading…
Reference in a new issue