Skip to content

Commit aea3f84

Browse files
updates to build process (#143)
1 parent 981a5a4 commit aea3f84

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/onrelease.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
- name: Unshallow
2222
run: git fetch --prune --unshallow
2323

24+
- name: Set up Python 3.8
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: '3.8'
28+
cache: 'pipenv'
29+
2430
- name: Install
2531
run: pip install pipenv
2632

.github/workflows/push.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
tests:
11-
# Ubuntu 20.04 has Python 3.8
11+
# Ubuntu latest no longer installs Python 3.8 by default so install it
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
@@ -27,14 +27,20 @@ jobs:
2727
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2828
# restore-keys: |
2929
# ${{ runner.os }}-go-
30-
30+
31+
- name: Set up Python 3.8
32+
uses: actions/setup-python@v3
33+
with:
34+
python-version: '3.8'
35+
cache: 'pipenv'
36+
3137
- name: Install
3238
run: pip install pipenv
33-
39+
3440
- name: Run tests
3541
run: make test
3642

37-
- name: Publish test coverage to coverage site
43+
- name: Publish test coverage to coverage site
3844
uses: codecov/codecov-action@v2
3945
with:
4046
files: ./coverage.xml

0 commit comments

Comments
 (0)