Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wptoux authored Feb 22, 2022
1 parent 4f32681 commit 1804956
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,39 +43,4 @@ jobs:
path: |
dist
reports
build-py2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7.17
uses: actions/setup-python@v2
with:
python-version: 2.7.17
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov genbadge[all] wheel cython cryptography gmssl
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
make test
- name: make redist
run: |
make redist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: upload-py2
path: |
dist
reports

0 comments on commit 1804956

Please sign in to comment.