Python tests #639
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: Python tests | |
on: | |
workflow_dispatch: | |
inputs: | |
repo: | |
description: 'Repository triggered from' | |
required: true | |
default: 'taipy-core' | |
commitSHA: | |
description: 'Commit SHA triggered for (default will be develop branch to avoid error)' | |
required: true | |
default: 'develop' | |
jobs: | |
backend: | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
python-versions: ['3.11'] | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Install Taipy | |
run: pip install git+https://[email protected]/Avaiga/taipy.git@develop | |
- name: Install Taipy Core From commit hash | |
run: pip install "git+https://[email protected]/Avaiga/taipy-core.git@${{ github.event.inputs.commitSHA }}" | |
- name: Tests | |
run: | | |
pytest tests |