Skip to content

Commit f06ca6e

Browse files
authored
Merge pull request #37 from ayasyrev:gh_ci_fix
fix gh ci
2 parents 4e14521 + 3abdf96 commit f06ca6e

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
tests:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-python@v1
11+
- uses: actions/checkout@main
12+
- uses: actions/setup-python@main
1313
with:
14-
python-version: "3.10"
14+
python-version: "3.11"
1515
architecture: x64
16-
- run: pip install nox
17-
- run: nox -p "3.10" -f noxfile_lint.py
16+
- run: pip install ruff
17+
- run: ruff check .

.github/workflows/tests.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@ jobs:
1010
strategy:
1111
matrix:
1212
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13-
name: Python ${{ matrix.python }}
1413
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-python@v1
14+
- name: Checkout
15+
uses: actions/checkout@main
16+
17+
- name: Setup Python ${{ matrix.python }}
18+
uses: actions/setup-python@main
1719
with:
1820
python-version: ${{ matrix.python }}
1921
architecture: x64
20-
- run: pip install nox
21-
- run: nox -p ${{ matrix.python }}
22+
23+
- name: Install
24+
run: |
25+
pip install uv
26+
uv pip install --system .[test] "coverage[toml]"
27+
- name: Tests
28+
run: pytest --cov

0 commit comments

Comments
 (0)