-
Notifications
You must be signed in to change notification settings - Fork 10
61 lines (59 loc) · 1.34 KB
/
ci.yml
File metadata and controls
61 lines (59 loc) · 1.34 KB
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
58
59
60
61
name: CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: docker://altendky/hydra:ubuntu-3-minors
steps:
- uses: actions/checkout@v1
- name: Install and update
run: |
pip install --upgrade pip setuptools tox wheel
- name: Report versions
run: |
python --version --version
pip --version
pip list
pip freeze --all
- name: Source distribution
if: always()
run: |
python setup.py sdist
- name: Wheel
if: always()
run: |
pip wheel --no-deps --wheel-dir dist/ .
- name: Archive dist
if: always()
uses: actions/upload-artifact@v1
with:
name: desert-dist
path: dist
ci:
runs-on: ${{ matrix.os }}
container: docker://altendky/hydra:ubuntu-3-minors
strategy:
matrix:
os:
- ubuntu-latest
toxenv:
- py36,report,codecov
- py37,report,codecov
- py38,report,codecov
- pypy3,report,codecov
- doc
- check
steps:
- uses: actions/checkout@v1
- name: Install
run: |
pip install tox
- name: Test
run: |
tox -v -e "${{ matrix.toxenv }}"