forked from cloud-custodian/cloud-custodian
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 1.29 KB
/
ci-release-0-8.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
name: "CI Release"
on:
push:
branches:
- "release/0.8"
pull_request:
branches:
- "release/0.8"
jobs:
ReleaseTests:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: [2.7, 3.8]
exclude:
- python-version: 3.8
os: windows-latest
- python-version: 3.8
os: macos-latest
include:
- python-version: 2.7
os: ubuntu-latest
tox-target: py27
- python-version: 2.7
os: windows-latest
tox-target: py27
- python-version: 2.7
os: macos-latest
tox-target: py27
- python-version: 3.8
tox-target: py38
os: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Test Runner
run: |
python -m pip install pip
pip install tox codecov
- name: Install Deps
run: |
tox -e ${{ matrix.tox-target }} --notest
- name: Test
run: |
tox -e ${{ matrix.tox-target }}