Skip to content

fix[next][dace]: Fixing Strides Reconstruction During Propagation (#1… #2353

fix[next][dace]: Fixing Strides Reconstruction During Propagation (#1…

fix[next][dace]: Fixing Strides Reconstruction During Propagation (#1… #2353

name: "Test Cartesian (CPU)"
on:
push:
branches:
- main
- gtir # TODO(tehrengruber): remove after GTIR refactoring #1582
pull_request:
branches:
- main
- gtir # TODO(tehrengruber): remove after GTIR refactoring #1582
paths-ignore: # Skip if only gt4py.next and irrelevant doc files have been updated
- "src/gt4py/next/**"
- "tests/next_tests/**"
- "examples/**"
- "*.md"
- "*.rst"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-cartesian:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
tox-factor: [internal, dace]
steps:
- uses: actions/checkout@v4
- name: Install C++ libraries
shell: bash
run: |
sudo apt install libboost-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
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: Test with tox
env:
NUM_PROCESSES: auto
shell: bash
run: |
pyversion=${{ matrix.python-version }}
pyversion_no_dot=${pyversion//./}
tox run -e cartesian-py${pyversion_no_dot}-${{ matrix.tox-factor }}-cpu