File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,18 @@ name: Test and lint
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - main
5
7
pull_request :
6
8
workflow_dispatch :
7
9
8
10
permissions :
9
11
contents : read
10
12
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15
+ cancel-in-progress : true
16
+
11
17
jobs :
12
18
tests :
13
19
name : Run tests
Original file line number Diff line number Diff line change @@ -2,11 +2,18 @@ name: Test packaging
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - main
5
7
pull_request :
8
+ workflow_dispatch :
6
9
7
10
permissions :
8
11
contents : read
9
12
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15
+ cancel-in-progress : true
16
+
10
17
jobs :
11
18
wheel :
12
19
name : Test wheel install
23
30
- name : Install pypa/build
24
31
run : |
25
32
# Be wary of running `pip install` here, since it becomes easy for us to
26
- # accidentally pick up typing_extensions as installed by a dependency
33
+ # accidentally pick up typing_extensions as installed by a dependency
27
34
python -m pip install --upgrade build
28
35
python -m pip list
29
36
53
60
- name : Install pypa/build
54
61
run : |
55
62
# Be wary of running `pip install` here, since it becomes easy for us to
56
- # accidentally pick up typing_extensions as installed by a dependency
63
+ # accidentally pick up typing_extensions as installed by a dependency
57
64
python -m pip install --upgrade build
58
65
python -m pip list
59
66
You can’t perform that action at this time.
0 commit comments