Skip to content

Commit

Permalink
Test only on Python 3.7
Browse files Browse the repository at this point in the history
With the last build we know that Python 2.7 is successful in 1h30 so now we can focus only on Python 3.7
  • Loading branch information
cclauss committed Aug 19, 2019
1 parent 1683838 commit c15ed91
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
max-parallel: 1
matrix:
python-version: [2.7] #, 3.7] # 3.5, 3.6,
# GitHub Actions / build (2.7) successful in 1h 30m 7s
python-version: [3.7] # [2.7, 3.5, 3.6,, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -19,17 +20,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt || true
- name: Lint with flake8
run: |
pip install flake8
# 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: make lint
run: |
make lint
- name: make test
run: |
python ./configure.py
make test || true # When the Python 3 run fails, allow the Python 2 run to complete
make test

0 comments on commit c15ed91

Please sign in to comment.