Skip to content

New auto-pruning modules #37

New auto-pruning modules

New auto-pruning modules #37

---
name: Integration Test
on:
push:
branches:
- main
pull_request:
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ansible_collections/infra/quay_configuration
- name: Set access rights to Quay configuration file
run: |
chmod 777 quay-config
chmod 666 quay-config/config.yaml
working-directory: ./ansible_collections/infra/quay_configuration/tests
- name: Deploy Quay
run: docker compose up -d
working-directory: ./ansible_collections/infra/quay_configuration/tests
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install required packages
run: pip install -Iv ansible
- uses: ifaxity/wait-on-action@v1
with:
resource: http://localhost:8080
log: true
interval: 5000
timeout: 300000
- name: Run integration test
run: >
ansible-test integration -v --color --continue-on-error --diff
--requirements --coverage
working-directory: ./ansible_collections/infra/quay_configuration
- name: Generate coverage report
run: >
ansible-test coverage xml -v --requirements --group-by command
--group-by version
working-directory: ./ansible_collections/infra/quay_configuration
# See the reports at https://codecov.io/gh/infra/quay_configuration
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
...