diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2709522dff..ea8e174bfd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -612,7 +612,10 @@ jobs: key: windows-minimal deps: testing_minimal - name: Set env - run: printf "${{ matrix.backend == 'llvm' && 'LLVM=1' || matrix.backend == 'clang' && 'CLANG=1'}}" + shell: bash + run: printf "${{ matrix.backend == 'llvm' && 'LLVM=1' || matrix.backend == 'clang' && 'CLANG=1'}}" >> $GITHUB_ENV - name: Run pytest (${{ matrix.backend }}) shell: bash - run: python -m pytest -n=auto test/test_tiny.py test/test_ops.py --durations=20 + run: | + python -c "from tinygrad import Device; assert Device.DEFAULT == '${{ matrix.backend }}'.upper(), Device.DEFAULT" + python -m pytest -n=auto test/test_tiny.py test/test_ops.py --durations=20