Merge pull request #496 from sameluch/Fix-Cache-Out-Of-Space-Test #982
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: tdnf CI | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
photon: | |
env: | |
DIST: photon | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build container | |
working-directory: ${{ github.workspace }} | |
run: | | |
docker build -t ${DIST}/tdnf-build -f ci/Dockerfile.${DIST} . | |
- name: run container with tests | |
working-directory: ${{ github.workspace }} | |
run: | | |
docker run --security-opt seccomp:unconfined --rm -e DIST -v$(pwd):/build -w/build ${DIST}/tdnf-build ./ci/docker-entrypoint.sh | |
fedora: | |
env: | |
DIST: fedora | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build container | |
working-directory: ${{ github.workspace }} | |
run: | | |
docker build -t ${DIST}/tdnf-build -f ci/Dockerfile.${DIST} . | |
- name: run container with tests | |
working-directory: ${{ github.workspace }} | |
run: | | |
docker run --security-opt seccomp:unconfined --rm -e DIST -v$(pwd):/build -w/build ${DIST}/tdnf-build ./ci/docker-entrypoint.sh | |