fix(ci): try to install for pytest from wheel
This commit is contained in:
parent
1a4d8cc845
commit
cc74411d95
2 changed files with 4 additions and 5 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
if: matrix.target == 'x86_64'
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
pip install pyargus --find-links dist --force-reinstall
|
||||
pip install dist/*.whl --force-reinstall
|
||||
cd pyargus && pytest
|
||||
|
||||
windows:
|
||||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
- name: Python Tests
|
||||
shell: pwsh
|
||||
run: |
|
||||
pip install pyargus --find-links dist --force-reinstall
|
||||
pip install dist/*.whl --force-reinstall
|
||||
cd pyargus && pytest
|
||||
|
||||
macos:
|
||||
|
|
@ -139,8 +139,7 @@ jobs:
|
|||
args: --release --out dist -i ${{ matrix.python-version }} --manifest-path pyargus/Cargo.toml --zig
|
||||
manylinux: auto
|
||||
- name: Python Tests
|
||||
if: matrix.target == 'x86_64'
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
pip install pyargus --find-links dist --force-reinstall
|
||||
pip install dist/*.whl --force-reinstall
|
||||
cd pyargus && pytest
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ def mypy(session: nox.Session):
|
|||
def tests(session: nox.Session):
|
||||
session.conda_install("pytest", "hypothesis")
|
||||
session.env.update(ENV)
|
||||
session.install("-e", "./pyargus")
|
||||
session.install("./pyargus")
|
||||
try:
|
||||
session.run(
|
||||
"cargo", "test", "--workspace", "--exclude", "pyargus", external=True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue