Skip to content

Commit

Permalink
Use base setup dependency type (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Nov 24, 2022
1 parent 8e68cc9 commit 5b62301
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
hatch run cov:nowarn || hatch run test:nowarn --lf
- name: Code coverage
run: |
pip install codecov
pip install codecov coverage[toml]
codecov
- run: hatch version 100.100.100

Expand Down Expand Up @@ -74,14 +74,9 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
python_version: "3.7"
- name: Install miniumum versions
uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
with:
only_create_file: 1
dependency_type: minimum
- name: Run the unit tests
run: |
export PIP_CONSTRAINT="./contraints_file.txt"
hatch run test:nowarn || hatch run test:nowarn --lf
test_prereleases:
Expand All @@ -93,9 +88,10 @@ jobs:
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: pre
- name: Run the tests
run: |
export PIP_PRE=1
hatch run test:nowarn || hatch run test:nowarn --lf
make_sdist:
Expand Down

0 comments on commit 5b62301

Please sign in to comment.