Skip to content

Commit

Permalink
get rid of numpy 2 nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jul 2, 2024
1 parent 481ba56 commit 0ab1cd5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ jobs:
- name: Test package and generate coverage report
run: pipx run nox -s coverage-${{ matrix.python-version.key || matrix.python-version }} --verbose

- name: Test package with numpy v2.x
if: matrix.python-version != 3.8
run: pipx run nox -s tests_numpy_2-${{ matrix.python-version.key || matrix.python-version }} --verbose

- name: Upload coverage report
uses: codecov/codecov-action@v4.5.0
with:
Expand Down
8 changes: 0 additions & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ def tests(session: nox.Session) -> None:
session.run("pytest", "--ignore", "tests/test_notebooks.py", *session.posargs)


# temporary session
@nox.session(reuse_venv=True, python=ALL_PYTHON)
def tests_numpy_2(session: nox.Session) -> None:
"""Run the unit and regular tests."""
session.install("-e", ".[awkward,test,test-extras,sympy]", "numpy>=2.0.0b1")
session.run("pytest", "--ignore", "tests/test_notebooks.py", *session.posargs)


@nox.session(reuse_venv=True, python=ALL_PYTHON)
def coverage(session: nox.Session) -> None:
"""Run tests and compute coverage."""
Expand Down

0 comments on commit 0ab1cd5

Please sign in to comment.