name: container-tests on: push: paths: - 'tests/**/*.py' - 'tests/container/**' pull_request: paths: - 'tests/**/*.py' jobs: test: runs-on: fedora container: image: git.phyllo.me/devops/fedora-runner-image:latest steps: - uses: https://git.phyllo.me/devops/checkout@v5 with: fetch-depth: 0 - name: Build test container run: | cd recipe-generator podman build -t phyllo/test-runner ../tests/container/ - name: Run tests in container run: | podman run --rm -v $(pwd):/phyllomeos:ro phyllo/test-runner - name: Upload test results if: always() uses: actions/upload-artifact@v3 with: name: container-test-results path: _pytest_cache/ if-no-files-found: ignore