Run example #89
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: Run example | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 8 * * * | |
concurrency: | |
group: demo-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
demo: | |
name: runs demo with ${{ matrix.py }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
py: | |
- '3.11' | |
- '3.10' | |
- '3.9' | |
- '3.8' | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup python ${{ matrix.py }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.py }} | |
- name: Install dvc-stage | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: Run example | |
run: | | |
cd examples | |
pip install . | |
dvc-stage update-all -y | |
dvc repro |