Skip to content

Commit

Permalink
DEV 2487 pre-commit to pipeline (#1020)
Browse files Browse the repository at this point in the history
* add pre-commit to pipeline
  • Loading branch information
qqiao2024 authored Feb 13, 2024
1 parent 58c2a3f commit 5c3ab29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ release:
export TWINE_REPOSITORY_URL=https://nexus.osdc.io/repository/pypi-releases/
fi
execute_plaster:
image: docker.osdc.io/ncigdc/python3.9-builder:${BASE_CONTAINER_VERSION}
stage: build
Expand Down Expand Up @@ -63,6 +64,8 @@ execute_plaster:
--dict-version $DICT_VERSION \
-o src/gdcdatamodel2/models \
-s src/gdcdatamodel2/partial_dictionary
- pip install pre-commit==${PRE_COMMIT_VERSION}
- pre-commit run -a || true
- git status
artifacts:
paths:
Expand Down
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 5c3ab29

Please sign in to comment.