feat[next][dace]: Skeleton of GTIR DaCe backend #1190
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: "Test Jupyter Notebooks" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-notebooks: | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
os: ["ubuntu-latest"] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: | | |
**/pyproject.toml | |
**/constraints.txt | |
**/requirements-dev.txt | |
- name: Install python dependencies | |
run: | | |
python -m pip install -c ./constraints.txt pip setuptools wheel | |
python -m pip install -r ./requirements-dev.txt | |
- name: Run tox tests | |
env: | |
NUM_PROCESSES: auto | |
shell: bash | |
run: | | |
pyversion=${{ matrix.python-version }} | |
pyversion_no_dot=${pyversion//./} | |
tox run -e notebooks-py${pyversion_no_dot} |