mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
Fix the syntax in github action (#1203)
This commit is contained in:
parent
6ece63ed35
commit
1c3332c96e
4
.github/workflows/merge_stage_test.yml
vendored
4
.github/workflows/merge_stage_test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user