File tree 2 files changed +19
-54
lines changed
2 files changed +19
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Python package
1
+ name : Python CI
2
2
3
- on : [workflow_call, pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - develop
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ - develop
12
+ workflow_dispatch : {}
4
13
5
14
jobs :
6
15
build :
7
-
8
16
runs-on : ubuntu-20.04
9
17
strategy :
10
18
matrix :
11
- python-version : ['3.6','3.7', '3.8']
19
+ python-version : ['3.6', '3.7', '3.8']
12
20
13
21
steps :
14
- - uses : actions/checkout@v4
22
+ - name : Checkout
23
+ uses : actions/checkout@v4
24
+ with :
25
+ fetch-depth : 0
26
+
15
27
- name : Set up Python ${{ matrix.python-version }}
16
28
uses : actions/setup-python@v5
17
29
with :
18
30
python-version : ${{ matrix.python-version }}
31
+
19
32
- name : Install dependencies
20
33
run : |
21
34
python -m pip install --upgrade pip
22
35
pip install tox
23
36
sudo apt-get update
24
37
sudo apt install libcurl4-openssl-dev
38
+
25
39
- name : Test with tox
26
40
run : tox
You can’t perform that action at this time.
0 commit comments