Merge pull request #522 from nix-community/update-mergify #1054
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- staging | |
- trying | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
# FIXME macos garbage currently collect also nix-shell that runs the test | |
#os: [ ubuntu-latest, macos-latest ] | |
variants: [stable, latest, bash4] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V28 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- run: "nix run --accept-flake-config .#test-runner-${{ matrix.variants }}" |