From be6f64c27b3d88de30615a0e7d45f17f8daadda3 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 20 Jan 2025 14:25:19 +0100 Subject: [PATCH] Run build GitHub Action on an ARM processor [Standard GitHub-hosted runners for public repositories](https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories) --- .github/workflows/ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 624269f05..aaad0ae2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,9 @@ jobs: - os: ubuntu-latest python-version: '3.13' browser: chromium + - os: ubuntu-24.04-arm + python-version: '3.13' + browser: chromium runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -98,16 +101,16 @@ jobs: - name: Test Wheel Installation run: pytest tests/test_installation.py --browser=${{ matrix.browser }} - name: Test Sync API - if: matrix.os != 'ubuntu-latest' + if: runner.os != 'Linux' run: pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 - name: Test Sync API - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' run: xvfb-run pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 - name: Test Async API - if: matrix.os != 'ubuntu-latest' + if: runner.os != 'Linux' run: pytest tests/async --browser=${{ matrix.browser }} --timeout 90 - name: Test Async API - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' run: xvfb-run pytest tests/async --browser=${{ matrix.browser }} --timeout 90 test-stable: @@ -140,16 +143,16 @@ jobs: - name: Common Tests run: pytest tests/common --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Sync API - if: matrix.os != 'ubuntu-latest' + if: runner.os != 'Linux' run: pytest tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Sync API - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' run: xvfb-run pytest tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Async API - if: matrix.os != 'ubuntu-latest' + if: runner.os != 'Linux' run: pytest tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Async API - if: matrix.os == 'ubuntu-latest' + if: runner.os == 'Linux' run: xvfb-run pytest tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 build-conda: