Skip to content

Order all accesses when inserting state boundaries in schedule trees … #3038

Order all accesses when inserting state boundaries in schedule trees …

Order all accesses when inserting state boundaries in schedule trees … #3038

Workflow file for this run

name: Machine Learning and Autodiff Tests
on:
push:
branches: [ main, ci-fix ]
pull_request:
branches: [ main, ci-fix ]
merge_group:
branches: [ main, ci-fix ]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
env:
UV_FROZEN: 1 # sync without updating uv.lock
UV_NO_DEV: 1 # don't install dev dependency group by default
UV_NO_EDITABLE: 1 # don't install dace in editable mode
jobs:
test:
if: "!contains(github.event.pull_request.labels.*.name, 'no-ci')"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.13']
simplify: [0,1,autoopt]
steps:
- uses: actions/checkout@v7
with:
submodules: 'recursive'
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libyaml-dev cmake
sudo apt-get install -y libblas-dev libopenblas-dev liblapacke-dev
uv sync --group ml-testing --extra ml
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
- name: Test with pytest
run: |
source .venv/bin/activate
export NOSTATUSBAR=1
export DACE_testing_serialization=1
export DACE_testing_deserialize_exception=1
export DACE_cache=unique
if [ "${{ matrix.simplify }}" = "autoopt" ]; then
export DACE_optimizer_automatic_simplification=1
export DACE_optimizer_autooptimize=1
echo "Auto-optimization heuristics"
else
export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}
fi
pytest --cov-report=xml --cov=dace --tb=short --timeout_method thread --timeout=600 -v -m "(torch or onnx or autodiff) and not gpu"
./codecov
- uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true