Fix the syntax in github action (#1203)

test/v0.8.0
Zaida Zhou 2023-06-16 14:38:43 +08:00 committed by GitHub
parent 6ece63ed35
commit 1c3332c96e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ jobs:
run: |
pip install openmim
mim install mmcv
if: ${{ matrix.torch > '1.8.0' || matrix.torch == '1.8.0' }
if: ${{ matrix.torch > '1.8.0' || matrix.torch == '1.8.0' }}
- name: Run unittests and generate coverage report
run: |
coverage run --branch --source mmengine -m pytest tests/ --ignore tests/test_dist
@ -257,7 +257,7 @@ jobs:
run: |
pip install openmim
mim install mmcv
if: ${{ matrix.torch > '1.8.0' || matrix.torch == '1.8.0' }
if: ${{ matrix.torch > '1.8.0' || matrix.torch == '1.8.0' }}
# Distributed-related unit tests may fail in macOS
# Skip testing setup_env since it does not work in the current CI environment # TODO
- name: Run unittests and generate coverage report