Skip to content

Commit

Permalink
Update tox and GA config
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Feb 18, 2024
1 parent bf1eeaf commit f7f723e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ on:
push:
branches:
- main
- master
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
pull_request:
branches:
- main
- master
jobs:
tests:
name: ${{ matrix.name }}
Expand All @@ -18,10 +20,14 @@ jobs:
fail-fast: false
matrix:
include:
- {name: '3.10', python: '3.10', tox: 'py310,py-babelex,py-no-babel'}
- {name: '3.12', python: '3.12', tox: 'py312'}
- {name: '3.11', python: '3.11', tox: 'py311'}
- {name: '3.10', python: '3.10', tox: 'py310'}
- {name: '3.9', python: '3.9', tox: py39}
- {name: '3.8', python: '3.8', tox: py38}
- {name: '3.7', python: '3.7', tox: py37}
- {name: 'Coverage', python: '3.12', tox: coverage}
- {name: 'Lint', python: '3.12', tox: flake8}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310
envlist = py37, py38, py39, py310, py311, py312, coverage, flake8
skip_missing_interpreters = true
skipsdist = true

Expand All @@ -8,14 +8,14 @@ commands =
coverage run --source=flask_dropzone setup.py test

[testenv:coverage]
basepython = python3.10
basepython = python3.12
commands =
coverage report
deps =
coverage

[testenv:flake8]
basepython = python3.10
basepython = python3.12
commands =
flake8 flask_dropzone test_flask_dropzone.py
deps =
Expand Down

0 comments on commit f7f723e

Please sign in to comment.