Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/black-test-failure' into for…
Browse files Browse the repository at this point in the history
…mat-code
  • Loading branch information
nadamoukaddem committed Feb 22, 2024
2 parents 62dd98c + cf5e85f commit 16cb786
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,25 @@ jobs:
- name:
uses: actions/checkout@v3

- name: Set up Python 3.10.5
- name: Set up Python 3.10.12
uses: actions/setup-python@v3
with:
python-version: "3.10.5"
python-version: "3.10.12"

- name: Install dependencies
run: python -m pip install ".[test]"

- name: Test with pytest
run: python -m pytest

linter_name:
name: Run Black formatter
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run Black formatter
uses: rickstaa/action-black@v1
with:
black_args: ". --check"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ release = [
]

test = [
"pytest",
"pytest==7.4.4",
"pytest-black",
"pytest-cases",
"pytest-cov",
Expand Down

0 comments on commit 16cb786

Please sign in to comment.