Parallel Test Execution
name: Redefine
on:
pull_request:
branches: [ "main" ]
jobs:
worker:
runs-on: ubuntu-latest
strategy:
matrix:
# Running 8 workers
index: [1,1,1,1,1,1,1,1]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run pytest
run: pytest --splits ${{ strategy.job-total }} --group ${{ strategy.job-index }} -n auto tests/Redefine
Last updated