-
Notifications
You must be signed in to change notification settings - Fork 1
96 lines (93 loc) · 2.36 KB
/
main.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
name: CI
on:
push:
pull_request:
release:
types:
- created
workflow_dispatch:
jobs:
ubuntu_test:
strategy:
matrix:
runs-on: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- name: apt
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip curl python3-setuptools python3-wheel python3-pytest
- name: pip
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
- name: allow cgroup
run : |
sudo chown -R $(id -un):$(id -gn) /sys/fs/cgroup/system.slice/runner-provisioner.service || true
- name: test
run: |
python3 -m pytest -s
ubuntu_test_unstable:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: apt
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip curl
- name: pip
run: |
pip3 install git+https://github.com/johnwason/drekar-launch-process.git
pip3 install .[test]
- name: test
run: |
python3 -m pytest -s
windows_test:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: pip
run: |
pip install .[test]
- name: test
run: |
python -m pytest -s
windows_test_unstable:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: pip
run: |
pip install git+https://github.com/johnwason/drekar-launch-process.git
pip install .[test]
- name: test
run: |
python -m pytest -s
macos_test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: pip
run: |
python -m pip install git+https://github.com/johnwason/drekar-launch-process.git
python -m pip install .[test]
- name: test
run: |
python -m pytest -s
macos_test_unstable:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: pip
run: |
python -m pip install .[test]
- name: test
run: |
python -m pytest -s