File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Upload to PyPI
2
2
3
3
on :
4
- # release:
5
- # types: [created]
6
4
push :
7
5
tags :
8
- - ' v*.*.*'
6
+ - " v*.*.*"
9
7
jobs :
10
8
deploy :
11
9
runs-on : ubuntu-latest
@@ -20,14 +18,14 @@ jobs:
20
18
- name : Set up Python
21
19
uses : actions/setup-python@v5
22
20
with :
23
- python-version : ' 3.10'
21
+ python-version : " 3.10"
24
22
25
23
- name : Install packages
26
24
run : |
27
25
pip install --upgrade pip
28
26
pip install --upgrade hatch
29
27
30
- - name : Build
28
+ - name : Build
31
29
run : hatch build
32
30
33
31
- name : pypi-publish
Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ concurrency :
12
+ group : type-check-${{ github.head_ref }}
13
+ cancel-in-progress : true
14
+
15
+ env :
16
+ PYTHONUNBUFFERED : " 1"
17
+ FORCE_COLOR : " 1"
18
+
11
19
jobs :
12
20
run :
13
21
runs-on : ubuntu-latest
25
33
pip install --upgrade pip
26
34
pip install -e '.[tests]'
27
35
pip install --upgrade mypy
36
+ pip list
28
37
29
38
- name : Run mypy
30
39
run : mypy --show-traceback src/
Original file line number Diff line number Diff line change 43
43
44
44
- name : Install packages
45
45
run : |
46
- pip install --upgrade pip
46
+ pip list
47
47
pip install -e '.[tests]'
48
48
pip install -r ci/minimum/requirements.txt
49
49
pip list
Original file line number Diff line number Diff line change 42
42
- name : Run tests
43
43
run : pytest -vv --cov --cov-report=xml
44
44
45
- - name : Check Codecov token # e.g., Dependabot doesn't have the CODECOV_TOKEN
45
+ - name : Check Codecov token # e.g., Dependabot doesn't have the CODECOV_TOKEN
46
46
id : check_codecov_token
47
47
run : |
48
48
if [ -n "${{ secrets.CODECOV_TOKEN }}" ]; then
You can’t perform that action at this time.
0 commit comments