File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow will install Python dependencies, run tests and lint with a single version of Python
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
41name : Python application -CI
52
63on :
3128
3229 - name : Lint with flake8
3330 run : |
34- # stop the build if there are Python syntax errors or undefined names
3531 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3732 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3833
3934 - name : Build Package
4641 - name : Package Python Code
4742 uses : actions/upload-artifact@v5.0.0
4843 with :
49- # Artifact name
5044 name : Python-app
51- # A file, directory or wildcard pattern that describes what to upload
5245 path : ./*
You can’t perform that action at this time.
0 commit comments