File tree 1 file changed +54
-0
lines changed
1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Notebook-related checks
2
+
3
+ name : Run all tests
4
+
5
+ on :
6
+ # Relevant PRs
7
+ pull_request :
8
+ paths :
9
+ - " google/**"
10
+ - " tests/**"
11
+ # Allow manual runs
12
+ workflow_dispatch :
13
+
14
+ jobs :
15
+ test3_11 :
16
+ name : py 3.11
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - uses : actions/setup-python@v4
21
+ with :
22
+ python-version : ' 3.11'
23
+ - name : Run tests
24
+ run : |
25
+ python --version
26
+ pip install -q -e .[dev]
27
+ python -m unittest discover --pattern '*test*.py'
28
+ test3_10 :
29
+ name : py 3.10
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v3
33
+ - uses : actions/setup-python@v4
34
+ with :
35
+ python-version : ' 3.10'
36
+ - name : Run tests
37
+ run : |
38
+ python --version
39
+ pip install -q -e .[dev]
40
+ python -m unittest discover --pattern '*test*.py'
41
+ test3_9 :
42
+ name : py 3.9
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - uses : actions/checkout@v3
46
+ - uses : actions/setup-python@v4
47
+ with :
48
+ python-version : ' 3.9'
49
+ - name : Run tests
50
+ run : |
51
+ python --version
52
+ pip install -q -e .[dev]
53
+ python -m unittest discover --pattern '*test*.py'
54
+
You can’t perform that action at this time.
0 commit comments