Set event_loop_policy only on Windows #2546
Workflow file for this run
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
# GitHub Action to run tests | |
name: Test suite | |
# Run workflow on every push that includes Python source files | |
on: | |
push: | |
paths: | |
- "**.py" | |
- ".github/workflows/test_runner.yml" | |
- "requirements.txt" | |
- "pyproject.toml" | |
- "execution_tests/**" | |
jobs: | |
call-unit-tests: | |
name: Unit tests | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [windows-latest, ubuntu-22.04] | |
uses: ./.github/workflows/unit_tests.yml | |
with: | |
host-os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
secrets: inherit | |
call-execution-tests: | |
name: Execution tests | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [windows-latest, ubuntu-22.04] | |
uses: ./.github/workflows/execution_tests.yml | |
with: | |
host-os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
secrets: inherit |