26
26
with :
27
27
token : ${{ secrets.GITHUB_TOKEN }}
28
28
29
- check-links :
29
+ check_links :
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- uses : actions/checkout@v3
@@ -61,56 +61,52 @@ jobs:
61
61
- name : Run the tests on pypy
62
62
if : ${{ startsWith(matrix.python-version, 'pypy') }}
63
63
run : |
64
- hatch run test:test -W default || hatch run test:test -W default --lf
64
+ hatch run test:nowarn || hatch run test:nowarn --lf
65
65
- name : Run the tests on windows
66
66
if : ${{ startsWith(matrix.os, 'windows') }}
67
67
run : |
68
- hatch run cov:test -W default || hatch run test:test -W default --lf
68
+ hatch run cov:nowarn || hatch run test:nowarn --lf
69
69
- name : Code coverage
70
70
run : |
71
71
pip install codecov
72
72
codecov
73
+
73
74
docs :
74
75
runs-on : ubuntu-latest
75
76
steps :
76
77
- uses : actions/checkout@v3
77
78
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
78
79
- run : hatch run docs:build
79
80
80
- test_miniumum_verisons :
81
+ test_minimum_verisons :
81
82
name : Test Minimum Versions
82
83
runs-on : ubuntu-latest
83
84
timeout-minutes : 10
84
85
steps :
85
86
- uses : actions/checkout@v3
86
- - name : Base Setup
87
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
87
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
88
88
with :
89
89
python_version : " 3.8"
90
- - name : Install miniumum versions
91
- uses : jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
90
+ - uses : jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
91
+ with :
92
+ only_create_file : 1
92
93
- name : Run the unit tests
93
- run : pytest -vv -W default || pytest -vv -W default --lf
94
+ run : |
95
+ export PIP_CONSTRAINT="./contraints_file.txt"
96
+ hatch run test:nowarn || hatch run test:nowarn --lf
94
97
95
98
test_prereleases :
96
99
name : Test Prereleases
97
100
timeout-minutes : 10
98
101
runs-on : ubuntu-latest
99
102
steps :
100
- - name : Checkout
101
- uses : actions/checkout@v3
102
- - name : Base Setup
103
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
104
- - name : Install the Python dependencies
105
- run : |
106
- pip install --upgrade --upgrade-strategy eager --pre -e ".[test]"
107
- - name : List installed packages
108
- run : |
109
- pip freeze
110
- pip check
103
+ - uses : actions/checkout@v3
104
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
111
105
- name : Run the tests
112
106
run : |
113
- pytest -vv -W default || pytest -vv -W default --lf
107
+ export PIP_PRE=1
108
+ hatch run test:nowarn || hatch run test:nowarn --lf
109
+
114
110
make_sdist :
115
111
name : Make SDist
116
112
runs-on : ubuntu-latest
@@ -136,8 +132,8 @@ jobs:
136
132
needs :
137
133
- test
138
134
- docs
139
- - check-links
140
- - test_miniumum_verisons
135
+ - check_links
136
+ - test_minimum_verisons
141
137
- pre-commit
142
138
- test_prereleases
143
139
- test_sdist
0 commit comments