Skip to content

Commit

Permalink
Drop 3.7 and update codecov (#89)
Browse files Browse the repository at this point in the history
* Drop 3.7
* fix #85 (use updated codecov action and token CODECOV_TOKEN from GitHub repo)

Co-authored-by: Oliver Beckstein <[email protected]>
  • Loading branch information
xiki-tempula and orbeckst authored May 6, 2023
1 parent e9d5401 commit 897218d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
# Only test lowest and highest version on the expensive/slow
# macOS and windows runners (UPDATE when supported versions change):
exclude:
- os: macOS-latest
python-version: 3.8
- os: macOS-latest
python-version: 3.9
python-version: 3.11
- os: windows-latest
python-version: 3.8
- os: windows-latest
python-version: 3.9
python-version: 3.11

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -73,8 +73,9 @@ jobs:
pytest -v --cov=alchemtest --cov-report=xml --color=yes src/alchemtest/tests
- name: CodeCov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
file: ./coverage.xml
flags: unittests
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows ',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
Expand Down

0 comments on commit 897218d

Please sign in to comment.