Tests triggered from taipy PR #249
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: Tests triggered from taipy PR | |
on: | |
workflow_dispatch: | |
inputs: | |
repo: | |
description: 'Repository triggered from' | |
required: true | |
default: 'taipy' | |
commitSHA: | |
description: 'Commit SHA triggered for (default will be develop branch to avoid error)' | |
required: true | |
default: 'develop' | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9', '3.12'] | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Taipy from commit hash | |
run: pip install "git+https://[email protected]/Avaiga/taipy.git@${{ github.event.inputs.commitSHA }}" statsmodels Flask-Testing pytest scikit-learn | |
timeout-minutes: 30 | |
- name: Pytest test | |
run: pytest tests | |
timeout-minutes: 60 |