Skip to content

Commit fd6045f

Browse files
committed
Fix tests and updated Python versions
1 parent 5e785af commit fd6045f

File tree

5 files changed

+514
-1205
lines changed

5 files changed

+514
-1205
lines changed

.github/workflows/wikidspark.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,18 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [ubuntu-latest, macos-latest] #, windows-latest]
13-
python: [3.6, 3.7, 3.8]
12+
os: [ubuntu-latest, macos-latest, windows-latest]
13+
python: ["3.11", "3.12", "3.13"]
1414
architecture: [x64]
15-
#include:
16-
# - os: windows-latest
17-
# architecture: x86
1815
env:
1916
OS : ${{ matrix.os }}
2017
ARCHITECTURE: ${{ matrix.architecture }}
2118
PYTHON : Python ${{ matrix.python }}
2219
steps:
23-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2421

2522
- name: Setup Python
26-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2724
with:
2825
python-version : ${{ matrix.python }}
2926
architecture : ${{ matrix.architecture }}
@@ -38,18 +35,17 @@ jobs:
3835

3936
- name: Run Tests
4037
run : |
41-
python -c "import time; time.sleep(2)"
42-
python -m poetry add pytest-cov
43-
python -m poetry run pytest --cov=./ --cov-report=xml
38+
poetry run pip install -y pytest-cov
39+
poetry run pytest --cov=./ --cov-report=xml
4440
45-
- name: Upload Coverage (Ubuntu Python3.8)
46-
uses: codecov/codecov-action@v1
41+
- name: Upload Coverage (Ubuntu Python3.13)
42+
uses: codecov/codecov-action@v5
4743
with:
48-
token : ${{secrets.CODECOV_TOKEN}}
49-
file : ./coverage.xml
44+
token : ${{ secrets.CODECOV_TOKEN }}
45+
files : ./coverage.xml
5046
directory : ./coverage/reports
5147
flags : unittests
5248
fail_ci_if_error: true
5349
env_vars: OS,PYTHON,ARCHITECTURE
5450
name : codecov-umbrella
55-
if: matrix.os == 'ubuntu-latest' && matrix.python == 3.8
51+
if: matrix.os == 'ubuntu-latest' && matrix.python == 3.13

0 commit comments

Comments
 (0)