Skip to content

Commit

Permalink
Merge pull request #3 from moshi4/develop
Browse files Browse the repository at this point in the history
Bump to v0.2.0
  • Loading branch information
moshi4 authored Jan 29, 2024
2 parents 183ec81 + 2673b25 commit ed7ec06
Show file tree
Hide file tree
Showing 5 changed files with 1,223 additions and 1,151 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
workflow_dispatch:

jobs:
CI_black-flake8-pytest:
CI:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -24,19 +24,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

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

- name: Install Dependencies
run: poetry install -n

- name: Run black format check
run: poetry run black src tests --check --diff --verbose
- name: Run ruff format check
run: ruff format --check --diff

- name: Run ruff lint check
run: poetry run ruff .
run: ruff check --diff

- name: Run pytest
run: poetry run pytest tests --tb=line --cov=src --cov-report=xml --cov-report=term
run: pytest tests --tb=line --cov=src --cov-report=xml --cov-report=term
Loading

0 comments on commit ed7ec06

Please sign in to comment.