Skip to content

Commit fb83b83

Browse files
authored
Avoid using ::add-path:: in GitHub Actions workflow (#413)
* Avoid using ::add-path:: in GitHub Actions workflow * Bump-up python versions
1 parent cdc704d commit fb83b83

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/testing.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,25 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ubuntu-latest, windows-latest, macos-latest]
32-
python_version: [3.5, 3.6, 3.7, 3.8, "pypy3"]
32+
python_version: [3.5, 3.6, 3.7, 3.8, 3.9, "pypy3"]
3333
exclude:
3434
# Do not test all minor versions on all platforms, especially if they
3535
# are not the oldest/newest supported versions
3636
- os: windows-latest
3737
python_version: 3.6
3838
- os: windows-latest
3939
python_version: 3.7
40+
- os: windows-latest
41+
python_version: 3.8
4042
# as of 4/02/2020, psutil won't build under PyPy + Windows
4143
- os: windows-latest
4244
python_version: "pypy3"
4345
- os: macos-latest
4446
python_version: 3.6
4547
- os: macos-latest
4648
python_version: 3.7
49+
- os: macos-latest
50+
python_version: 3.8
4751
- os: macos-latest
4852
# numpy triggers: RuntimeError: Polyfit sanity test emitted a
4953
# warning
@@ -100,7 +104,7 @@ jobs:
100104
sudo apt update
101105
sudo apt install python3.9 python3.9-venv python3.9-dev
102106
python3.9 -m venv nightly-venv
103-
echo ::add-path::nightly-venv/bin
107+
echo "$PWD/nightly-venv/bin" >> $GITHUB_PATH
104108
- name: Display Python version
105109
run: python -c "import sys; print(sys.version)"
106110
- name: Install project and dependencies

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def find_version():
4242
'Programming Language :: Python :: 3.5',
4343
'Programming Language :: Python :: 3.6',
4444
'Programming Language :: Python :: 3.7',
45+
'Programming Language :: Python :: 3.8',
46+
'Programming Language :: Python :: 3.9',
4547
'Programming Language :: Python :: Implementation :: CPython',
4648
'Programming Language :: Python :: Implementation :: PyPy',
4749
'Topic :: Software Development :: Libraries :: Python Modules',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35, py36, py37, py38, pypy3
2+
envlist = py35, py36, py37, py38, py39, pypy3
33

44
[testenv]
55
deps = -rdev-requirements.txt

0 commit comments

Comments
 (0)