test: mark RunExecOptionsTest.testWatchWait as flaky #45
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: check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tools | |
run: | | |
python -m pip install --upgrade pip setuptools wheel pipenv | |
- name: Install virtualenv using Pipenv | |
run: | | |
pipenv --python ${{ matrix.python-version }} sync --dev | |
- name: Run linters | |
if: ${{ matrix.python-version == '3.9' }} | |
run: | | |
pipenv run make lint | |
- name: Install jobrunner | |
run: | | |
pipenv run make install | |
- name: Run tests | |
run: | | |
pipenv run make check | |
all-testing: | |
runs-on: ubuntu-latest | |
needs: [check] | |
if: always() | |
steps: | |
- name: All tests passed | |
if: ${{ !(contains(needs.*.result, 'failure')) }} | |
run: exit 0 | |
- name: Some tests failed | |
if: ${{ contains(needs.*.result, 'failure') }} | |
run: exit 1 |