Skip to content

Update recordings to speed up the testing process #222

Update recordings to speed up the testing process

Update recordings to speed up the testing process #222

Workflow file for this run

---
name: pagure-exporter
on: [push, pull_request, workflow_dispatch]
jobs:
ci-basic:
strategy:
fail-fast: false
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Install the base dependencies
run: |
python3 -m pip install --upgrade poetry tox
- name: Check the correctness of the project config
run: |
poetry check
- name: Check the quality of the code
run: |
tox -e cleaning
ci-tests:
strategy:
fail-fast: false
matrix:
tox-env: ["py311"]
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Install the base dependencies
run: |
python3 -m pip install --upgrade tox
- name: Set up user for running the testcases
run: |
useradd testrunner
chown -R testrunner .
- name: Execute tox
run: |
su testrunner -c "tox -e ${{ matrix.tox-env }}"
env:
TEST_SRCE: "${{ secrets.TEST_SRCE }}"
TEST_DEST: "${{ secrets.TEST_DEST }}"
TEST_PKEY: "${{ secrets.TEST_PKEY }}"
TEST_GKEY: "${{ secrets.TEST_GKEY }}"
TEST_FUSR: "${{ secrets.TEST_FUSR }}"
TEST_TUSR: "${{ secrets.TEST_TUSR }}"