Merge pull request #755 from NethServer/feat-7173 #361
Workflow file for this run
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-agent | |
on: | |
push: | |
paths: | |
- core/agent/** | |
- .github/workflows/test-agent.yml | |
jobs: | |
test-agent: | |
name: Test agent | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: bash test-agent.sh | |
working-directory: core/agent | |
- run: | | |
# Export test output | |
mkdir -p tstate | |
podman volume export tstate | tar -C tstate -v -x -f - | |
if: always() | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: test-agent | |
path: tstate/ | |
if: always() | |
- run: podman stop -a | |
continue-on-error: true | |
if: always() |