Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
MPSD Computational Science
mpsd-software-manager
Merge requests
!2
first attempt to have tests (fake tests only)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
first attempt to have tests (fake tests only)
introduce-CI
into
1-user-interface-for-top-level-install-command
Overview
3
Commits
4
Pipelines
2
Changes
1
Merged
Hans Fangohr
requested to merge
introduce-CI
into
1-user-interface-for-top-level-install-command
1 year ago
Overview
3
Commits
4
Pipelines
2
Changes
1
Expand
First attempt to introduce style checks and running tests automatically.
0
0
Merge request reports
Viewing commit
878a8298
Prev
Next
Show latest version
1 file
+
52
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
878a8298
first attempt to have tests (fake tests only)
· 878a8298
Hans Fangohr
authored
1 year ago
.gitlab-ci.yaml
0 → 100644
+
52
−
0
Options
image
:
python:latest
stages
:
-
test-style
-
test
before_script
:
-
cat /etc/issue
-
python -V
-
which python
-
python -m venv ../venv
-
source ../venv/bin/activate
-
which python
-
pwd
-
pip install -U pip
-
pip --version
-
pip install pytest
-
pytest --version
style
:
stage
:
test-style
image
:
python:latest
script
:
-
black --version
-
ruff --version
-
ruff .
-
black --check --diff .
test3-09
:
stage
:
test
image
:
python:3.9
script
:
-
echo "run tests here later"
-
python --version
test3-10
:
stage
:
test
image
:
python:3.10
script
:
-
echo "run tests here later"
-
python --version
test3-11
:
stage
:
test
image
:
python:3.11
script
:
-
echo "run tests here later"
-
python --version
Loading