Skip to content

Commit

Permalink
Avoid using ::add-path:: in GitHub Actions workflow (#413)
Browse files Browse the repository at this point in the history
* Avoid using ::add-path:: in GitHub Actions workflow

* Bump-up python versions
  • Loading branch information
ogrisel committed Mar 1, 2021
1 parent cdc704d commit fb83b83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,25 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: [3.5, 3.6, 3.7, 3.8, "pypy3"]
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, "pypy3"]
exclude:
# Do not test all minor versions on all platforms, especially if they
# are not the oldest/newest supported versions
- os: windows-latest
python_version: 3.6
- os: windows-latest
python_version: 3.7
- os: windows-latest
python_version: 3.8
# as of 4/02/2020, psutil won't build under PyPy + Windows
- os: windows-latest
python_version: "pypy3"
- os: macos-latest
python_version: 3.6
- os: macos-latest
python_version: 3.7
- os: macos-latest
python_version: 3.8
- os: macos-latest
# numpy triggers: RuntimeError: Polyfit sanity test emitted a
# warning
Expand Down Expand Up @@ -100,7 +104,7 @@ jobs:
sudo apt update
sudo apt install python3.9 python3.9-venv python3.9-dev
python3.9 -m venv nightly-venv
echo ::add-path::nightly-venv/bin
echo "$PWD/nightly-venv/bin" >> $GITHUB_PATH
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install project and dependencies
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def find_version():
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35, py36, py37, py38, pypy3
envlist = py35, py36, py37, py38, py39, pypy3

[testenv]
deps = -rdev-requirements.txt
Expand Down

0 comments on commit fb83b83

Please sign in to comment.