Skip to content

Commit 7fd6558

Browse files
committed
Make package.yml workflow test code on Python 3.9
1 parent 736f42b commit 7fd6558

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/package.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
uses: actions/checkout@v2
6161
with:
6262
submodules: true
63+
- name: Setup Python 3.9
64+
uses: actions/setup-python@v2
65+
with:
66+
python-version: 3.9
6367
- name: Download source distribution
6468
uses: actions/download-artifact@v2
6569
with:
@@ -84,7 +88,11 @@ jobs:
8488
uses: actions/checkout@v2
8589
with:
8690
submodules: true
87-
- name: Download source distribution
91+
- name: Setup Python 3.9
92+
uses: actions/setup-python@v2
93+
with:
94+
python-version: 3.9
95+
- name: Download wheel distribution
8896
uses: actions/download-artifact@v2
8997
with:
9098
name: dist

tests/mark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
def slow(self):
2-
pass
1+
def slow(cls):
2+
return cls

0 commit comments

Comments
 (0)