Skip to content

Commit

Permalink
Fix GitHub action not running tox correctly (#1)
Browse files Browse the repository at this point in the history
* Use tox-gh

* Rename envlist to env_list

* Just run tox command
  • Loading branch information
mikemanger authored Nov 25, 2024
1 parent 7f2d914 commit 78139e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
pip install tox tox-gh
- name: Test with tox
env:
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
run: tox -e py
run: tox
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ multi_line_output = 3
legacy_tox_ini = """
[tox]
# https://docs.djangoproject.com/en/5.1/faq/install/#what-python-version-can-i-use-with-django
envlist =
env_list =
django{18,110,111,21,22,3,31}-py{37,38,39}-sendgrid{5,6}
django{32}-py{37,38,39,310,311,312}-sendgrid{5,6}
django{4,41,42}-py{38,39,310,311,312}-sendgrid{5,6}
django{5}-py{310,311,312}-sendgrid{5,6}
django{51}-py{310,311,312,313}-sendgrid{5,6}
[gh-actions]
[gh]
python =
3.7: py37
3.8: py38
Expand Down

0 comments on commit 78139e6

Please sign in to comment.