Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM S3-Proxy Service
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM S3-Proxy Service
Commits
befb210f
Verified
Commit
befb210f
authored
2 years ago
by
Daniel Göbel
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file to change into the right directory.
#4
parent
b16cfb5e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-3
5 additions, 3 deletions
.gitlab-ci.yml
ProxyAPI/scripts/lint.sh
+1
-1
1 addition, 1 deletion
ProxyAPI/scripts/lint.sh
with
6 additions
and
4 deletions
.gitlab-ci.yml
+
5
−
3
View file @
befb210f
...
...
@@ -18,6 +18,7 @@ image: python:3.10-slim
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
BASE_DIR
:
"
$CI_PROJECT_DIR/ProxyAPI"
PYTHONPATH
:
"
$CI_PROJECT_DIR/ProxyAPI"
cache
:
paths
:
...
...
@@ -29,8 +30,9 @@ before_script:
-
pip install virtualenv
-
virtualenv venv
-
source venv/bin/activate
-
python -m pip install -r $BASE_DIR/requirements.txt
-
python -m pip install -r $BASE_DIR/requirements-dev.txt
-
cd $BASE_DIR
-
python -m pip install -r requirements.txt
-
python -m pip install -r requirements-dev.txt
stages
:
# List of stages for jobs, and their order of execution
# - build
...
...
@@ -53,7 +55,7 @@ unit-test-job: # This job runs in the test stage.
lint-test-job
:
# This job also runs in the test stage.
stage
:
test
# It can run at the same time as unit-test-job (in parallel).
script
:
-
$BASE_DIR
/scripts/lint.sh
-
.
/scripts/lint.sh
#deploy-job: # This job runs in the deploy stage.
# stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
...
...
This diff is collapsed.
Click to expand it.
ProxyAPI/scripts/lint.sh
+
1
−
1
View file @
befb210f
...
...
@@ -5,4 +5,4 @@ set -x
mypy app
black app
--check
isort
-c
app
flake8
flake8
app
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