File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : qencode CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ python-version : [ '3.x' ]
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - name : Configure git
15
+ run : |
16
+ git config --global user.name 'travis-ci'
17
+ git config --global user.email '[email protected] '
18
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v1
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade poetry
25
+ poetry install
26
+ - name : Lint with flake8
27
+ run : |
28
+ poetry run flake8
29
+ - name : Test with pytest
30
+ run : |
31
+ poetry run py.test --cov=./ --cov-report=xml
32
+ - uses : codecov/codecov-action@v1
33
+ with :
34
+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments