feb7455112
This test requires copying the Home Manager checkout to the Nix store,
which seems to require too much memory for the CI jobs. Instead simply
run the format script directly.
(cherry picked from commit 9fe15dc83b
)
24 lines
560 B
YAML
24 lines
560 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
schedule:
|
|
- cron: "30 2 * * *"
|
|
jobs:
|
|
tests:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v12
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-20.09
|
|
- uses: cachix/cachix-action@v8
|
|
with:
|
|
name: nix-community
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
|
- run: ./format -c
|
|
- run: nix-shell . -A install
|
|
- run: nix-shell --pure tests -A run.all
|