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'
|
if: matrix.target == 'x86_64'
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
run: |
|
run: |
|
||||||
pip install pyargus --find-links dist --force-reinstall
|
pip install dist/*.whl --force-reinstall
|
||||||
cd pyargus && pytest
|
cd pyargus && pytest
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
|
|
@ -96,7 +96,7 @@ jobs:
|
||||||
- name: Python Tests
|
- name: Python Tests
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
pip install pyargus --find-links dist --force-reinstall
|
pip install dist/*.whl --force-reinstall
|
||||||
cd pyargus && pytest
|
cd pyargus && pytest
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
|
@ -139,8 +139,7 @@ jobs:
|
||||||
args: --release --out dist -i ${{ matrix.python-version }} --manifest-path pyargus/Cargo.toml --zig
|
args: --release --out dist -i ${{ matrix.python-version }} --manifest-path pyargus/Cargo.toml --zig
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
- name: Python Tests
|
- name: Python Tests
|
||||||
if: matrix.target == 'x86_64'
|
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
run: |
|
run: |
|
||||||
pip install pyargus --find-links dist --force-reinstall
|
pip install dist/*.whl --force-reinstall
|
||||||
cd pyargus && pytest
|
cd pyargus && pytest
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ def mypy(session: nox.Session):
|
||||||
def tests(session: nox.Session):
|
def tests(session: nox.Session):
|
||||||
session.conda_install("pytest", "hypothesis")
|
session.conda_install("pytest", "hypothesis")
|
||||||
session.env.update(ENV)
|
session.env.update(ENV)
|
||||||
session.install("-e", "./pyargus")
|
session.install("./pyargus")
|
||||||
try:
|
try:
|
||||||
session.run(
|
session.run(
|
||||||
"cargo", "test", "--workspace", "--exclude", "pyargus", external=True
|
"cargo", "test", "--workspace", "--exclude", "pyargus", external=True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue