Skip to content

Commit

Permalink
MAINT, WIP: Trying to fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ganesh-k13 committed Jan 28, 2024
1 parent 747ecbb commit 8436d68
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gdb
- name: Tests
# - name: Tests Old
# run: |
# pipx run nox --forcecolor -s tests_old_sh
- name: Tests PyTest
run: |
pipx run nox --forcecolor -s tests
pipx run nox --forcecolor -s tests_pytest
13 changes: 10 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@


@nox.session
def tests(session: nox.Session) -> None:
def tests_old_sh(session: nox.Session) -> None:
"""
Run the unit and regular tests.
[TBD DEPCRECATED]Run the unit and regular tests.
"""
session.install(".", "pytest", "build")
session.run("pytest", "spin", *session.posargs)
session.run("bash", ".github/workflows/test.sh", external=True)

@nox.session
def tests_pytest(session: nox.Session) -> None:
"""
[TBD DEPCRECATED]Run the unit and regular tests.
"""
session.install(".", "pytest", "build")
session.run("pytest", "spin", *session.posargs)
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
]
dependencies = [
"click",
"meson",
"tomli; python_version < '3.11'",
"colorama; platform_system == 'Windows'",
"importlib_metadata >= 7"
Expand Down

0 comments on commit 8436d68

Please sign in to comment.