2020-10-12 00:22:58 +00:00
|
|
|
name: Test
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: "30 2 * * *"
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
strategy:
|
2021-11-04 16:42:44 +00:00
|
|
|
fail-fast: false
|
2020-10-12 00:22:58 +00:00
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-11-04 16:42:44 +00:00
|
|
|
- uses: cachix/install-nix-action@v14.1
|
2020-10-12 00:22:58 +00:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2021-07-02 22:36:30 +00:00
|
|
|
- uses: cachix/cachix-action@v10
|
2020-10-12 00:22:58 +00:00
|
|
|
with:
|
|
|
|
name: nix-community
|
|
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
2021-07-02 22:36:30 +00:00
|
|
|
- run: ./format -c
|
2020-10-12 00:22:58 +00:00
|
|
|
- run: nix-shell . -A install
|
2021-11-04 16:42:44 +00:00
|
|
|
- run: nix-shell --arg enableBig false --pure tests -A run.all
|