Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pySDC
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atml-ati
pySDC
Commits
488e7a46
Commit
488e7a46
authored
Apr 24, 2024
by
Jakob Fritz
Browse files
Options
Downloads
Patches
Plain Diff
ci_pipeline.yml now more similar to upstream
parent
9ab9b633
No related branches found
No related tags found
No related merge requests found
Pipeline
#186066
failed
Apr 24, 2024
Stage: benchmark
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci_pipeline.yml
+50
-4
50 additions, 4 deletions
.github/workflows/ci_pipeline.yml
with
50 additions
and
4 deletions
.github/workflows/ci_pipeline.yml
+
50
−
4
View file @
488e7a46
...
@@ -42,7 +42,7 @@ jobs:
...
@@ -42,7 +42,7 @@ jobs:
strategy
:
strategy
:
matrix
:
matrix
:
python
:
[
'
3.7'
,
'
3.8'
,
'
3.9'
,
'
3.10'
]
python
:
[
'
3.8'
,
'
3.9'
,
'
3.10'
]
env
:
[
'
base'
,
'
fenics'
,
'
mpi4py'
,
'
petsc'
]
env
:
[
'
base'
,
'
fenics'
,
'
mpi4py'
,
'
petsc'
]
defaults
:
defaults
:
...
@@ -127,6 +127,52 @@ jobs:
...
@@ -127,6 +127,52 @@ jobs:
data_libpressio
data_libpressio
coverage_libpressio_3.10.dat
coverage_libpressio_3.10.dat
user_monodomain_tests_linux
:
runs-on
:
ubuntu-latest
defaults
:
run
:
shell
:
bash -l {0}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v3
-
name
:
Install Conda environment with Micromamba
uses
:
mamba-org/setup-micromamba@v1
with
:
environment-file
:
"
pySDC/projects/Monodomain/etc/environment-monodomain.yml"
create-args
:
>-
python=3.10
-
name
:
Compile C++ ionic models
env
:
IONIC_MODELS_PATH
:
"
pySDC/projects/Monodomain/problem_classes/ionicmodels/cpp"
run
:
|
c++ -O3 -Wall -shared -std=c++11 -fPIC -fvisibility=hidden $(python3 -m pybind11 --includes) ${IONIC_MODELS_PATH}/bindings_definitions.cpp -o ${IONIC_MODELS_PATH}/ionicmodels$(python3-config --extension-suffix)
-
name
:
Run pytest for CPU stuff
run
:
|
echo "print('Loading sitecustomize.py...')
import coverage
coverage.process_startup() " > sitecustomize.py
coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m monodomain
-
name
:
Make coverage report
run
:
|
mv data data_monodomain
coverage combine
mv .coverage coverage_monodomain_3.10.dat
-
name
:
Uploading artifacts
uses
:
actions/upload-artifact@v3
with
:
name
:
cpu-test-artifacts
path
:
|
data_monodomain
coverage_monodomain_3.10.dat
# user_cpu_tests_macos:
# user_cpu_tests_macos:
# runs-on: macos-12
# runs-on: macos-12
#
#
...
@@ -170,6 +216,7 @@ jobs:
...
@@ -170,6 +216,7 @@ jobs:
-
lint
-
lint
-
user_cpu_tests_linux
-
user_cpu_tests_linux
-
user_libpressio_tests
-
user_libpressio_tests
-
user_monodomain_tests_linux
# - wait_for_gitlab
# - wait_for_gitlab
defaults
:
defaults
:
...
@@ -194,7 +241,7 @@ jobs:
...
@@ -194,7 +241,7 @@ jobs:
run
:
|
run
:
|
ls -artl cpu-test-artifacts
ls -artl cpu-test-artifacts
cp cpu-test-artifacts/data_3.10/* data/.
cp cpu-test-artifacts/data_3.10/* data/.
python -m coverage combine cpu-test-artifacts/coverage_*.dat
python -m coverage combine cpu-test-artifacts/coverage_*
_3.10
.dat
python -m coverage xml
python -m coverage xml
python -m coverage html
python -m coverage html
...
@@ -310,4 +357,3 @@ jobs:
...
@@ -310,4 +357,3 @@ jobs:
# rm -rf data
# rm -rf data
# unzip artifacts.zip
# unzip artifacts.zip
#
#
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
sign in
to comment