Skip to content

Commit

Permalink
Revert reverting package installation during CI
Browse files Browse the repository at this point in the history
This reverts commit 790afef so that the
code can be merged back into dev, once issue #589 is fixed.
  • Loading branch information
gnn committed Feb 2, 2023
1 parent 790afef commit eadbc96
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ jobs:
run: "python -m nox -s build"
env:
PLATFORM: ${{ matrix.os.image }}
- name: "Install the package"
run: "python -m nox -s install"
env:
PLATFORM: ${{ matrix.os.image }}
9 changes: 9 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from pathlib import Path
from pprint import pformat

import nox
Expand Down Expand Up @@ -58,3 +59,11 @@ def build(session):
session.install("twine")
session.run("python", "setup.py", "bdist", "bdist_wheel")
session.run("twine", "check", "dist/eTraGo*")


@nox.session(python=["3", "3.8", "3.9", "3.10", "3.11"])
def install(session):
"""Install the package."""
setdefaults(session)
session.run("python", "-mpip", "install", "--upgrade", "pip")
session.run("python", "-mpip", "install", *Path("dist").glob("*.whl"))

0 comments on commit eadbc96

Please sign in to comment.