Skip to content

Commit 6858c34

Browse files
committed
update ci
1 parent 412ff5c commit 6858c34

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.x"
1616
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,22 @@ jobs:
2121
python: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Setup Python
2626
uses: actions/setup-python@v5
2727
with:
2828
python-version: ${{ matrix.python }}
2929
env:
3030
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
31-
- name: Install Tox and any other packages
32-
run: pip install tox
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install -r requirements.txt
3335
- name: Run Tox
3436
# Run tox using the version of Python in `PATH`
3537
run: tox -e py
3638
- name: Upload coverage to Codecov
37-
uses: codecov/codecov-action@v3
38-
if: matrix.os == 'ubuntu-20.04' && matrix.python == '3.13'
39+
uses: codecov/codecov-action@v5
40+
if: github.event_name == 'push' && matrix.os == 'ubuntu-20.04' && matrix.python == '3.13'
3941
with:
4042
file: ./coverage.xml

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tox>=4.0.0
2+
pytest>=7.0.0
3+
pytest-cov>=4.0.0

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
2-
envlist = py{35,36,37,38,39}
2+
envlist = py35,py36,py37,py38,py39,py310,py311,py312,py313
33
minversion = 3.3.0
4-
isolated_build = true
4+
isolated_build = True
55

66
[testenv]
77
deps =

vscode.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)