mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Run tests during CI
This commit is contained in:
parent
6c5663f3c9
commit
2ba5146201
2 changed files with 16 additions and 0 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -14,3 +14,17 @@ jobs:
|
|||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- run: nix flake check
|
||||
tests:
|
||||
name: Test suite
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- run: |
|
||||
git config --global user.email "action@github.com"
|
||||
git config --global user.name "GitHub Action"
|
||||
- run: "nix develop -c echo preparing environment"
|
||||
- run: "set -o pipefail; nix develop -c bats test/{test,long_tests}.bats | tee tests.tap"
|
||||
- uses: pcolby/tap-summary@v1
|
||||
if: always()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue