mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 23:59:45 +01:00
9fe15dc83b
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.
23 lines
563 B
YAML
23 lines
563 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-unstable
|
|
- 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
|