Skip to content

Commit

Permalink
Fix test invocation (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Nov 19, 2022
1 parent 88ff74a commit f478328
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# conda install -c conda-forge xeus-cling

- name: Run the tests
run: hatch run test || hatch run test
run: hatch run test:test || hatch run test:test

test_minimum_versions:
name: Test Minimum Versions
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Run the unit tests
run: |
export PIP_CONSTRAINT="./contraints_file.txt"
hatch run test:nowarn || hatch run test:nowarn --lf
hatch run test:test || hatch run test:test
test_prereleases:
name: Test Prereleases
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Run the tests
run: |
export PIP_PRE=1
hatch run test:nowarn || hatch run test:nowarn --lf
hatch run test:test || hatch run test:test
make_sdist:
name: Make SDist
Expand All @@ -110,7 +110,7 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
with:
test_command: hatch run test || hatch run test
test_command: hatch run test:test || hatch run test:test

check_links:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ path = "jupyter_kernel_test/__init__.py"
features = ["test"]
[tool.hatch.envs.test.scripts]
test = "python -m unittest -v {args}"
nowarn = "test -W default {args}"

[tool.flake8]
ignore = "E501, W503, E402"
Expand Down

0 comments on commit f478328

Please sign in to comment.