generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
98 lines (90 loc) · 2.27 KB
/
push.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: "push"
on: [push]
jobs:
container:
runs-on: ubuntu-latest
container:
image: python:3.8-slim-buster
steps:
- uses: actions/checkout@v1
- run: |
pip3 install tox --progress-bar off
tox -e py38-test
container_t:
runs-on: ubuntu-latest
container:
image: python:3.8-slim-buster
options: -t
steps:
- uses: actions/checkout@v1
- run: |
pip3 install tox --progress-bar off
tox -e py38-test
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: docker run --rm -tv $(pwd):/src -w /src python:3.8-slim-buster bash -c "pip3 install tox --progress-bar off; tox -e py38-test"
docker_shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: mv run.sh /usr/share/rust/.cargo/bin/run.sh
- shell: ./run.sh {0}
run: |
pip3 install tox --progress-bar off
tox -e py38-test
host:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v1
- run: |
pip3 install tox
tox -e py37-test
invoke:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v1
- run: |
pip3 install tox invoke
python -c 'from invoke import run; run("tox -e py37-test", pty=True, echo=True)'
invoke_runpy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v1
- run: |
pip3 install tox invoke
./run.py tox -e py37-test
invoke_ptypy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v1
- run: mv pty.py /usr/share/rust/.cargo/bin/pty.py
- shell: ./pty.py {0}
run: |
pip3 install tox invoke
tox -e py37-test
invoke_ptysh:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v1
- run: mv pty.py pty.sh /usr/share/rust/.cargo/bin/
- shell: ./pty.sh {0}
run: |
pip3 install tox
tox -e py37-test