Skip to content

Merge pull request #755 from NethServer/feat-7173 #361

Merge pull request #755 from NethServer/feat-7173

Merge pull request #755 from NethServer/feat-7173 #361

Workflow file for this run

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()