test #11
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: Nix Test | |
on: | |
- push | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- run: nix develop | |
- run: nix flake check | |
- run: | | |
nix develop --command \ | |
mix deps.get | |
- run: | | |
nix develop --command \ | |
mix compile --warnings-as-errors | |
- run: | | |
nix develop --command \ | |
mix test --trace | |
macos: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- run: nix develop | |
- run: nix flake check | |
- run: | | |
nix develop --command \ | |
mix deps.get | |
- run: | | |
nix develop --command \ | |
mix compile --warnings-as-errors | |
- run: | | |
nix develop --command \ | |
mix test --trace |