Skip to content

Commit 45c63f6

Browse files
committed
Update workflows
1 parent 7bf7796 commit 45c63f6

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/build-master.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8]
16+
python-version: [3.9, 3.10, 3.11, 3.12, 3.13]
1717
os: [ubuntu-latest, windows-latest, macOS-latest]
1818

1919
steps:
@@ -28,8 +28,12 @@ jobs:
2828
pip install .[test]
2929
- name: Test with pytest
3030
run: |
31-
pytest --cov-report xml --cov=image_slicer image_slicer/tests/
32-
codecov -t ${{ secrets.CODECOV_TOKEN }}
31+
pytest tests/ --cov=image_slicer --cov-report=lcov
32+
- name: Coveralls
33+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
34+
uses: coverallsapp/github-action@v2
35+
with:
36+
github-token: ${{ secrets.GITHUB_TOKEN }}
3337

3438
lint:
3539
runs-on: ubuntu-latest
@@ -39,7 +43,7 @@ jobs:
3943
- name: Set up Python
4044
uses: actions/setup-python@v2
4145
with:
42-
python-version: 3.8
46+
python-version: 3.13
4347
- name: Install Dependencies
4448
run: |
4549
python -m pip install --upgrade pip

.github/workflows/test-and-lint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ jobs:
2323
- name: Test with pytest
2424
run: |
2525
pytest tests/ --cov=image_slicer --cov-report=lcov
26-
- name: Coveralls
27-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
28-
uses: coverallsapp/github-action@v2
29-
with:
30-
github-token: ${{ secrets.GITHUB_TOKEN }}
3126
3227
lint:
3328
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)