Skip to content

Commit

Permalink
Removed tox-factor and deprecated Python 3.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hkage committed Jul 27, 2023
1 parent aced15c commit 286c505
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand All @@ -21,14 +21,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "tox<4" tox-factor coverage
pip install tox coverage
- name: Lint with flake8
run: tox -e flake8
if: matrix.python-version == '3.8'
- name: Run tests via tox
run: |
export TOXFACTOR=$(echo "py${{ matrix.python-version }}" | sed 's/\.//g')
tox
run: tox -f $(echo "py${{ matrix.python-version }}" | sed 's/\.//g')
- name: Generate coverage report
run: coverage xml
if: ${{ success() }}
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def command_factory(name, base_class):
Operating System :: OS Independent
Programming Language :: JavaScript
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Internet
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist = flake8
py{37,38,39}-django{30,31,32}
py{38,39}-django{30,31,32}
skipsdist = true
#skip_missing_interpreters=true

Expand Down

0 comments on commit 286c505

Please sign in to comment.