Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mmsegmentation
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
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
Timo Bartels
mmsegmentation
Commits
6cdc2c4a
Unverified
Commit
6cdc2c4a
authored
2 years ago
by
Miao Zheng
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Fix] circle ci (#2019)
* [Fix] circle ci * importlib * python -m mim * python -m cpverage * typo
parent
cf1577c9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/test.yml
+7
-11
7 additions, 11 deletions
.circleci/test.yml
with
7 additions
and
11 deletions
.circleci/test.yml
+
7
−
11
View file @
6cdc2c4a
...
...
@@ -36,8 +36,6 @@ jobs:
type
:
string
torchvision
:
type
:
string
mmcv
:
type
:
string
docker
:
-
image
:
cimg/python:<< parameters.python >>
resource_class
:
large
...
...
@@ -62,10 +60,10 @@ jobs:
name
:
Install mmseg dependencies
command
:
|
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main
python -m pip install -U openmim
mim install 'mmcv>=2.0.0rc1'
python -m pip install -U openmim
'importlib-metadata<2'
python -m
mim install 'mmcv>=2.0.0rc1'
python -m pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
python -m pip install -r requirements.txt
python -m pip install -r requirements
/tests.txt -r requirements/optional
.txt
-
run
:
name
:
Build and install
command
:
|
...
...
@@ -80,9 +78,9 @@ jobs:
-
run
:
name
:
Skip timm unittests and generate coverage report
command
:
|
coverage run --branch --source mmseg -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
coverage xml
coverage report -m
python -m
coverage run --branch --source mmseg -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
python -m
coverage xml
python -m
coverage report -m
build_cuda
:
parameters
:
torch
:
...
...
@@ -93,8 +91,6 @@ jobs:
cudnn
:
type
:
integer
default
:
7
mmcv
:
type
:
string
machine
:
image
:
ubuntu-2004-cuda-11.4:202110-01
# docker_layer_caching: true
...
...
@@ -116,7 +112,7 @@ jobs:
name
:
Install mmseg dependencies
command
:
|
docker exec mmseg pip install -e /mmengine
docker exec mmseg pip install -U openmim
docker exec mmseg pip install -U openmim
'importlib-metadata<2'
docker exec mmseg mim install 'mmcv>=2.0.0rc1'
docker exec mmseg pip install -e /mmclassification
docker exec mmseg python -m pip install -r requirements.txt
...
...
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