Skip to content

Commit

Permalink
Merge pull request #30 from mam-dev/review-ci
Browse files Browse the repository at this point in the history
Review ci
  • Loading branch information
bunny-therapist authored Jun 28, 2023
2 parents 7f9c5de + 14130cf commit c917678
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
python_version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
python -m pip install --upgrade pip wheel
python -m pip install tox==4.* tox-gh-actions==3.*
- name: Run tox
run: tox -e py$(sed 's/\.//' ${{ matrix.python_version }})
run: tox
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[tox]
envlist = py38,py39,py310,py311
isolated_build = True
minversion = 4.0.0

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
deps =
Expand Down

0 comments on commit c917678

Please sign in to comment.