File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci pipeline
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - src/**
9
+ - tests/**
10
+ - .github/**
11
+ - requirements.txt
12
+ - requirements_dev.txt
13
+ # paths-ignore:
14
+ # - 'README.md'
15
+ pull_request :
16
+ branches :
17
+ - main
18
+ paths-ignore :
19
+ - README.md
20
+
21
+ permissions :
22
+ contents : read
23
+
24
+ jobs :
25
+ build :
26
+ runs-on : ${{ matrix.os }}
27
+ strategy :
28
+ matrix :
29
+ os : [ubuntu-latest, windows-latest]
30
+ python-version : ["3.9", "3.10"]
31
+
32
+ steps :
33
+ - uses : actions/checkout@v3
34
+ - name : Set up Python ${{ matrix.python-version }}
35
+ uses : actions/setup-python@v3
36
+ with :
37
+ python-version : ${{ matrix.python-version }}
38
+ - name : Install dependencies
39
+ run : |
40
+ python -m pip install --upgrade pip
41
+ pip install flake8 pytest tox tox-gh-actions
42
+ pip install -r requirements.txt
43
+ - name : Test with tox
44
+ run : tox
You can’t perform that action at this time.
0 commit comments