mirror of
https://github.com/nushell/nushell
synced 2025-01-13 21:55:07 +00:00
Fix imported virtualenv testsuite (#8001)
# Description Patch `pyproject.toml` to ignore the checking of coverage level as we only run part of the test suite affecting nushell.
This commit is contained in:
parent
a562f492e3
commit
ddc33dc74a
1 changed files with 6 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -119,7 +119,12 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Test Nushell in virtualenv
|
- name: Test Nushell in virtualenv
|
||||||
run: cd virtualenv && tox -e ${{ matrix.py }} -- -k nushell
|
run: |
|
||||||
|
cd virtualenv
|
||||||
|
# We need to disable failing on coverage levels.
|
||||||
|
nu -c "open pyproject.toml | upsert tool.coverage.report.fail_under 1 | save patchproject.toml"
|
||||||
|
mv patchproject.toml pyproject.toml
|
||||||
|
tox -e ${{ matrix.py }} -- -k nushell
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
# Build+test plugins on their own, without the rest of Nu. This helps with CI parallelization and
|
# Build+test plugins on their own, without the rest of Nu. This helps with CI parallelization and
|
||||||
|
|
Loading…
Reference in a new issue