Prevent installation of prereleases for dependant packages #4974
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Overall Test Workflow | |
on: | |
push: | |
branches: [ develop, dev/*, release/* ] | |
pull_request: | |
branches: [ develop, dev/*, release/* ] | |
workflow_dispatch: | |
permissions: | |
pull-requests: write | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
jobs: | |
partial-tests: | |
uses: ./.github/workflows/partial-tests.yml | |
coverage: | |
timeout-minutes: 50 | |
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.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.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 |