Adding example for get_resource for taipy extension #4923
Workflow file for this run
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' && github.event.pull_request.base.repo.full_name == github.event.pull_request.head.repo.full_name | |
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/coverage@v3.1 | |
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 |