Skip to content

Commit ed7ec06

Browse files
authored
Merge pull request #3 from moshi4/develop
Bump to v0.2.0
2 parents 183ec81 + 2673b25 commit ed7ec06

File tree

5 files changed

+1223
-1151
lines changed

5 files changed

+1223
-1151
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
CI_black-flake8-pytest:
12+
CI:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest]
17-
python-version: ["3.8", "3.9", "3.10", "3.11"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
@@ -24,19 +24,14 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

27-
- name: Install Poetry
28-
run: |
29-
curl -sSL https://install.python-poetry.org | python3 -
30-
echo "$HOME/.local/bin" >> $GITHUB_PATH
27+
- name: Install dependencies
28+
run: pip install -e . pytest pytest-cov ruff
3129

32-
- name: Install Dependencies
33-
run: poetry install -n
34-
35-
- name: Run black format check
36-
run: poetry run black src tests --check --diff --verbose
30+
- name: Run ruff format check
31+
run: ruff format --check --diff
3732

3833
- name: Run ruff lint check
39-
run: poetry run ruff .
34+
run: ruff check --diff
4035

4136
- name: Run pytest
42-
run: poetry run pytest tests --tb=line --cov=src --cov-report=xml --cov-report=term
37+
run: pytest tests --tb=line --cov=src --cov-report=xml --cov-report=term

0 commit comments

Comments
 (0)