From d3126ad62e66572e908266cbcc191399e056c705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Tur=C3=B3ci?= <64769322+mturoci@users.noreply.github.com> Date: Thu, 24 Aug 2023 18:18:36 +0200 Subject: [PATCH] ci: Stabilize nightly job. (#2119) --- .github/workflows/release-wave-nightly.yml | 9 ++++++--- e2e/requirements.txt | 4 ++-- e2e/test_by_name_updates.py | 1 + e2e/test_card_interaction.py | 1 + e2e/test_oidc.py | 1 + 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-wave-nightly.yml b/.github/workflows/release-wave-nightly.yml index 34ec0ccb07..13ade23e63 100644 --- a/.github/workflows/release-wave-nightly.yml +++ b/.github/workflows/release-wave-nightly.yml @@ -37,7 +37,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-22.04] - py: ["3.8", "3.9", "3.10"] + py: ["3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -78,7 +78,7 @@ jobs: if: needs.check-last-commit.outputs.yesterday-commit-count > 0 strategy: matrix: - py: ["3.8", "3.9", "3.10"] + py: ["3.8", "3.9", "3.10", "3.11"] runs-on: windows-2022 steps: - uses: actions/checkout@v2 @@ -113,7 +113,7 @@ jobs: if: needs.check-last-commit.outputs.yesterday-commit-count > 0 strategy: matrix: - py: ["3.8", "3.9", "3.10"] + py: ["3.8", "3.9", "3.10", "3.11"] runs-on: macos-12 steps: - uses: actions/checkout@v2 @@ -122,6 +122,9 @@ jobs: - name: Install docker run: | + curl -OSL https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb + brew unlink qemu + brew install ./qemu.rb brew install docker colima start diff --git a/e2e/requirements.txt b/e2e/requirements.txt index 3d589ce9dd..1d41b19b8c 100644 --- a/e2e/requirements.txt +++ b/e2e/requirements.txt @@ -2,11 +2,11 @@ attrs==22.2.0 certifi==2022.12.7 charset-normalizer==3.1.0 exceptiongroup==1.1.1 -greenlet==2.0.1 +greenlet==2.0.2 idna==3.4 iniconfig==2.0.0 packaging==23.0 -playwright==1.31.1 +playwright==1.37.0 pluggy==1.0.0 pyee==9.0.4 pytest==7.2.2 diff --git a/e2e/test_by_name_updates.py b/e2e/test_by_name_updates.py index 0b2f5d5b15..198f0c54ca 100644 --- a/e2e/test_by_name_updates.py +++ b/e2e/test_by_name_updates.py @@ -9,6 +9,7 @@ @pytest.fixture(scope='module', autouse=True) def setup_teardown(): waved_p = None + expect.set_options(timeout=10_000) try: waved_p = start_waved() yield diff --git a/e2e/test_card_interaction.py b/e2e/test_card_interaction.py index c0fd800a9c..34a348bff9 100644 --- a/e2e/test_card_interaction.py +++ b/e2e/test_card_interaction.py @@ -10,6 +10,7 @@ @pytest.fixture(scope='session', autouse=True) def global_setup_teardown(playwright): playwright.selectors.set_test_id_attribute('data-test') + expect.set_options(timeout=10_000) @pytest.fixture(scope='module', autouse=True) diff --git a/e2e/test_oidc.py b/e2e/test_oidc.py index bd8aac8e55..9e5eb45533 100644 --- a/e2e/test_oidc.py +++ b/e2e/test_oidc.py @@ -19,6 +19,7 @@ @pytest.fixture(scope='session', autouse=True) def global_setup_teardown(playwright): playwright.selectors.set_test_id_attribute('data-test') + expect.set_options(timeout=10_000) @pytest.fixture(scope='module', autouse=True)