Pr/209 - created from #209 #783
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: Demo | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
build: | |
name: Run demo | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8, 3.9, "3.10"] | |
inplace: ["-e", ""] # "pip install -e ." installs in place; "pip install ." installs to the default directory | |
steps: | |
- name: Skip Duplicate Actions | |
uses: fkirc/skip-duplicate-actions@v5 | |
- uses: actions/checkout@v3 | |
with: | |
lfs: false | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python dependencies | |
run: | | |
pip3 install --user ${{ matrix.inplace }} . | |
- name: Run demo | |
run: | | |
python "./examples/Python_Script/demo_poc.py" |