Skip to content

Commit

Permalink
Revert "Streamline Python tests in CI"
Browse files Browse the repository at this point in the history
This broke the `build` task depending on `backend-ci` and reverts commit
ab592d8.

Apparently, you can’t depend on a test matrix in GitHub actions 🙁.

Signed-off-by: Nils Philippsen <nils@redhat.com>
  • Loading branch information
nphilipp committed Mar 14, 2024
1 parent 370f9f0 commit b7ef0d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
backend-ci:
strategy:
fail-fast: false
matrix:
pyver: [310, 311, 312]
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
Expand All @@ -45,8 +43,14 @@ jobs:
run: |
dnf install -y krb5-devel libpq-devel gettext
- name: Install base Python dependencies
run: |
python3 -m pip install --upgrade tox
python3 -m pip install --upgrade "poetry>=1.5.0"
poetry --version
- name: execute tox
run: tox -e py${{ matrix.pyver }} -- -v
run: tox -- -v

frontend-ci:
strategy:
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ sitepackages = false
allowlist_externals =
poetry
commands_pre =
pip install poetry
poetry install --all-extras
commands =
poetry run pytest -o 'addopts=--cov-config .coveragerc --cov=fmn --cov-report term-missing --cov-report xml --cov-report html' --asyncio-mode auto tests/ {posargs}
Expand Down

0 comments on commit b7ef0d1

Please sign in to comment.