Fix process restart after error exit #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |