Skip to content

Commit

Permalink
Remove Python 3.6 support (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw authored Jan 3, 2022
1 parent a9ffce0 commit bfc6668
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: '3.8'

- name: Install dependencies
run: |
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-18.04, windows-latest, macOS-latest ]
python-version: [3.6]
os: [ ubuntu-20.04, windows-latest, macOS-latest ]
python-version: [3.8]
include:
- os: ubuntu-latest
python-version: 3.7
- os: ubuntu-latest
python-version: 3.8
- os: ubuntu-latest
python-version: 3.9

Expand All @@ -30,7 +28,7 @@ jobs:
with:
path: emodb-src
key: emodb-ubuntu
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -41,7 +39,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends --yes graphviz libsndfile1 sox
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'

- name: Prepare Windows
run: choco install sox.portable
Expand All @@ -68,10 +66,10 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'

- name: Test building documentation
run: |
python -m sphinx docs/ docs/_build/ -b html -W
python -m sphinx docs/ build/sphinx/html -b linkcheck
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand Down

0 comments on commit bfc6668

Please sign in to comment.