Skip to content

Overall Test Workflow #1871

Overall Test Workflow

Overall Test Workflow #1871

Workflow file for this run

name: Overall Test Workflow
on:
push:
branches: [ develop, dev/*, release/* ]
pull_request:
branches: [ develop, dev/*, release/* ]
workflow_dispatch:
jobs:
partial-tests:
uses: ./.github/workflows/partial-tests.yml
coverage:
timeout-minutes: 40
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
id: install-dependencies
uses: ./.github/actions/install
with:
python-version: '3.11'
os: 'ubuntu-latest'
pipfile-version: 'min'
- name: Pytest
run: |
pipenv run pytest --cov=taipy --cov-report="xml:overall-coverage.xml" tests
- name: Coverage
uses: orgoro/[email protected]
with:
coverageFile: overall-coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
overall-tests:
needs: [partial-tests]
timeout-minutes: 50
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest, macos-13]
pipfile-version: ['min', 'max']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
id: install-dependencies
uses: ./.github/actions/install
with:
python-version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
pipfile-version: ${{ matrix.pipfile-version }}
- name: Pytest
run: |
pipenv run pytest -m "not orchestrator_dispatcher and not standalone and not teste2e" tests
intermittent-tests:
needs: [partial-tests]
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest, macos-13]
orchestrator: ['orchestrator_dispatcher', 'standalone']
pipfile-version: ['min', 'max']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
uses: ./.github/actions/install
with:
os: ${{ matrix.os }}
install-gui: false
python-version: ${{ matrix.python-version }}
pipfile-version: ${{ matrix.pipfile-version }}
- name: Pytest Core orchestrator_dispatcher
run: pipenv run pytest -m "${{ matrix.orchestrator }}" tests/core