Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICV-mmengine_basecode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schiffel
ICV-mmengine_basecode
Commits
9f0d1a96
Unverified
Commit
9f0d1a96
authored
3 years ago
by
Yining Li
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix mmdet->mmengine in build.yml (#104)
parent
f8a4c310
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/build.yml
+3
-3
3 additions, 3 deletions
.github/workflows/build.yml
with
3 additions
and
3 deletions
.github/workflows/build.yml
+
3
−
3
View file @
9f0d1a96
...
@@ -74,7 +74,7 @@ jobs:
...
@@ -74,7 +74,7 @@ jobs:
run
:
rm -rf .eggs && pip install -e .
run
:
rm -rf .eggs && pip install -e .
-
name
:
Run unittests and generate coverage report
-
name
:
Run unittests and generate coverage report
run
:
|
run
:
|
coverage run --branch --source mm
det
-m pytest tests/
coverage run --branch --source mm
engine
-m pytest tests/
coverage xml
coverage xml
coverage report -m
coverage report -m
...
@@ -192,7 +192,7 @@ jobs:
...
@@ -192,7 +192,7 @@ jobs:
-
name
:
Install dependencies for compiling onnx when python=3.9
-
name
:
Install dependencies for compiling onnx when python=3.9
run
:
python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake
run
:
python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake
if
:
${{matrix.python-version == '3.9'}}
if
:
${{matrix.python-version == '3.9'}}
-
name
:
Install mm
det
dependencies
-
name
:
Install mm
engine
dependencies
run
:
|
run
:
|
python -V
python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html
...
@@ -208,7 +208,7 @@ jobs:
...
@@ -208,7 +208,7 @@ jobs:
TORCH_CUDA_ARCH_LIST=7.0 pip install .
TORCH_CUDA_ARCH_LIST=7.0 pip install .
-
name
:
Run unittests and generate coverage report
-
name
:
Run unittests and generate coverage report
run
:
|
run
:
|
coverage run --branch --source mm
det
-m pytest tests/
coverage run --branch --source mm
engine
-m pytest tests/
coverage xml
coverage xml
coverage report -m
coverage report -m
-
name
:
Upload coverage to Codecov
-
name
:
Upload coverage to Codecov
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment