Skip to content

Test

Test #239

Workflow file for this run

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/[email protected]
- 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/[email protected]
- 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/[email protected]
- 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'