Skip to content

Commit

Permalink
Run matrix of integration tests to check scaling.
Browse files Browse the repository at this point in the history
  • Loading branch information
rousik committed Nov 7, 2023
1 parent fb30bd5 commit 6ff74f5
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/tox-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ name: Code validation
# better represent what it does. Maybe even migrate yml file.

on:
workflow_dispatch:
inputs:
runner_shape:
description: "GitHub runner to use"
type: choice
options:
- ubuntu-latest
- ubuntu-22.04-4core
- ubuntu-22.04-8core
default: ubuntu-22.04-4core
pull_request:
types:
- created
Expand Down Expand Up @@ -130,10 +120,16 @@ jobs:
path: coverage.xml

ci-integration:
strategy:
matrix:
runner_shape:
- ubuntu-latest
- ubuntu-22.04-4core
- ubuntu-22.04-8core
name: Integration (fast ETL run)
needs:
- ci-unit
runs-on: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.runner_shape || 'ubuntu-22.04-4core' }}
runs-on: ${{ matrix.runner_shape }}
if: github.event.pull_request.draft == false
permissions:
contents: read
Expand Down

0 comments on commit 6ff74f5

Please sign in to comment.