File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
3
4
- name : Linting and unit tests
4
+ name : Lint, Build and Test
5
5
on :
6
6
push :
7
7
branches : [ "main" ]
32
32
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33
33
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide, we further relax this
34
34
flake8 . --count --exit-zero --max-complexity=30 --max-line-length=130 --statistics
35
-
35
+ - name : Build
36
+ run : |
37
+ pip install build
38
+ python -m build
36
39
- name : Test with pytest
37
40
run : |
38
41
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
39
- pytest --cov-report term --cov=src tests/
42
+ pytest --cov-report term --cov=cs3client tests/
You can’t perform that action at this time.
0 commit comments