-
Notifications
You must be signed in to change notification settings - Fork 92
57 lines (52 loc) · 1.42 KB
/
test_python36.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ubuntu-latest does not have a release for python3.6 - until a decision is made to deprecate support we need to run tests against ubuntu-20.04
name: Run 3.6 tests
on:
push:
branches:
- 'releases/**'
- master
pull_request:
branches:
- 'releases/**'
- master
jobs:
test_3_6:
strategy:
matrix:
python-version: [ '3.6' ]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv==2018.11.26
- name: Test
run: |
echo "Installing pipenv dependencies"
PIPENV_NOSPIN=true pipenv install --dev
pipenv run test
test_3_7:
strategy:
matrix:
python-version: [ '3.7' ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv==2018.11.26
- name: Test
run: |
echo "Installing pipenv dependencies"
PIPENV_NOSPIN=true pipenv install --dev
pipenv run test