Skip to content

Commit 52e8612

Browse files
authored
Use base setup dependency type (#465)
1 parent d7fedae commit 52e8612

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Codecov
5050
run: |
51-
pip install codecov
51+
pip install codecov coverage[toml]
5252
codecov
5353
5454
generate_changelog:
@@ -87,10 +87,7 @@ jobs:
8787
- uses: actions/checkout@v3
8888
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
8989
with:
90-
python_version: "3.8"
91-
- uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
92-
with:
93-
only_create_file: 1
90+
dependency_type: pre
9491
- name: Run the unit tests
9592
run: |
9693
hatch run test:nowarn || hatch run test:nowarn --lf
@@ -103,10 +100,10 @@ jobs:
103100
- uses: actions/checkout@v3
104101
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
105102
with:
106-
python_version: "3.11"
103+
dependency_type: pre
107104
- name: Run the tests
108105
run: |
109-
PIP_PRE=1 hatch run test:nowarn || hatch run test:nowarn --lf
106+
hatch run test:nowarn || hatch run test:nowarn --lf
110107
111108
docs:
112109
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)