Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix tests running #85

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ci: fix tests running
vinitkumar committed Nov 30, 2024
commit 37b523b216839bcfad8f4df0ff5f2ad347c779b3
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -13,16 +13,17 @@ concurrency:
jobs:
tests:
name: ${{ matrix.database }} Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'

steps:
- uses: actions/checkout@v3
@@ -50,7 +51,7 @@ jobs:

coverage:
name: Coverage
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v3
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ envlist =
py310-django42-cms311
py310-django32-cms{38, 39, 310}
py39-django32-cms{38, 39, 310}
py38-django32-cms{38, 39, 310}
skip_missing_interpreters=True

[testenv]
@@ -16,7 +15,7 @@ deps =
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{env:COMMAND:coverage} run tests/settings.py
{env:COMMAND:coverage} combine --keep
{env:COMMAND:coverage} report --show-missing