Skip to content

Commit

Permalink
fix nox call in GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
damjankuznar committed Jul 25, 2023
1 parent 51f128c commit 20549b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# - name: Linter
# run: poetry run flake8

- name: Code Formatting
uses: psf/black@stable
# - name: Code Formatting
# uses: psf/black@stable

# - name: Type Check
# run: poetry run mypy open_rarity
Expand Down
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
@nox.session(python=["3.10", "3.11"])
@nox.parametrize("pydantic", ["1.9.1", "2.0.3"])
def tests(session: Session, pydantic):
session.install("poetry")
session.run("poetry", "install")
session.install(f"pydantic=={pydantic}")
session.run("pytest")

0 comments on commit 20549b8

Please sign in to comment.