Test #218
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: | |
schedule: | |
- cron: '5 19 * * 5' # At 19:05 on Friday | |
jobs: | |
nixos-21-11: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-21.11 | |
- run: nix-build --arg runMypy false # TODO run mypy | |
- run: nix-shell --command 'pytest -v tests/ acceptance_tests' | |
- run: | | |
nix-env -if default.nix --arg runMypy false && nix-shell -p bats --command './acceptance_tests/test_command.sh' | |
nixos-22-11: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-22.11 | |
- run: nix-build --arg runMypy false # TODO run mypy | |
- run: nix-shell --command 'pytest -v tests/ acceptance_tests' | |
- run: | | |
nix-env -if default.nix --arg runMypy false && nix-shell -p bats --command './acceptance_tests/test_command.sh' | |
nixos-unstable: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix-build --arg runMypy false # TODO run mypy in unstable | |
- run: nix-shell --command 'pytest -v tests/ acceptance_tests' | |
- run: | | |
nix-env -if default.nix --arg runMypy true && nix-shell -p bats --command './acceptance_tests/test_command.sh' |