Skip to content

Commit

Permalink
fixup! matrix run on macos too
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Feb 14, 2024
1 parent fe5bb2b commit b00683d
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/nix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@

jobs:
nix-shell:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
# Fetch the whole history for all tags and branches (required for aleph.__version__)
fetch-depth: 0
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}

- name: Set up Nix
uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-23.11
steps:
- uses: actions/checkout@v2
with:
# Fetch the whole history for all tags and branches (required for aleph.__version__)
fetch-depth: 0

- name: Run tests
run: nix-shell --run "pytest"
- name: Set up Nix
uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-23.11

- name: Run tests
run: nix-shell --run "pytest"

0 comments on commit b00683d

Please sign in to comment.