Skip to content

Commit 16ef962

Browse files
committed
#299 Update github actions
1 parent 3aa16ec commit 16ef962

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎.flake8‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ignore =
99
# break after binary operator - allow either style
1010
exclude=
1111
.git,
12+
.venv,
1213
build,
1314
dev-requirements,
1415
venv,

‎.github/workflows/pytest.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ jobs:
88
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
99
steps:
1010
- name: Checkout repository and submodules
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212
with:
1313
submodules: recursive
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v5
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
1919
run: |
20-
python -m pip install --upgrade pip
21-
pip install flake8 pytest
22-
pip install .[test]
20+
python3 -m pip install --upgrade pip
21+
python3 -m pip install flake8 pytest
22+
python3 -m pip install .[test]
2323
- name: Lint with flake8
2424
run: |
25-
python -m flake8
26-
- name: Test sorting wioth isort
25+
python3 -m flake8
26+
- name: Test sorting with isort
2727
run: |
28-
python -m isort --verbose --check-only --diff chaste_codegen tests setup.py
28+
python3 -m isort --verbose --check-only --diff chaste_codegen tests setup.py
2929
- name: Test with pytest
3030
run: |
31-
python -m pytest --cov --cov-config=.coveragerc
32-
- uses: codecov/codecov-action@v5
31+
python3 -m pytest --cov --cov-config=.coveragerc
32+
- uses: codecov/codecov-action@v6
3333
with:
3434
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos

0 commit comments

Comments
 (0)