Skip to content

Commit 66cc5bc

Browse files
author
Thomas Baumann
committed
Merge remote-tracking branch 'upstream/master' into controller_restructure
2 parents 23976b6 + 1de8d2f commit 66cc5bc

File tree

3 files changed

+47
-41
lines changed

3 files changed

+47
-41
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 41 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ jobs:
3535
run: |
3636
flakeheaven lint --benchmark pySDC
3737
38-
mirror_to_gitlab:
38+
# mirror_to_gitlab:
3939

40-
runs-on: ubuntu-latest
40+
# runs-on: ubuntu-latest
4141

42-
steps:
43-
- name: Checkout
44-
uses: actions/checkout@v1
42+
# steps:
43+
# - name: Checkout
44+
# uses: actions/checkout@v1
4545

46-
- name: Mirror
47-
uses: jakob-fritz/github2lab_action@main
48-
env:
49-
MODE: 'mirror' # Either 'mirror', 'get_status', or 'both'
50-
GITLAB_TOKEN: ${{ secrets.GITLAB_SECRET_H }}
51-
FORCE_PUSH: "true"
52-
GITLAB_HOSTNAME: "codebase.helmholtz.cloud"
53-
GITLAB_PROJECT_ID: "3525"
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
# - name: Mirror
47+
# uses: jakob-fritz/github2lab_action@main
48+
# env:
49+
# MODE: 'mirror' # Either 'mirror', 'get_status', or 'both'
50+
# GITLAB_TOKEN: ${{ secrets.GITLAB_SECRET_H }}
51+
# FORCE_PUSH: "true"
52+
# GITLAB_HOSTNAME: "codebase.helmholtz.cloud"
53+
# GITLAB_PROJECT_ID: "3525"
54+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555

5656
user_cpu_tests_linux:
5757
runs-on: ubuntu-latest
@@ -121,31 +121,31 @@ jobs:
121121
pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m ${{ matrix.env }}
122122
123123
124-
wait_for_gitlab:
125-
runs-on: ubuntu-latest
124+
# wait_for_gitlab:
125+
# runs-on: ubuntu-latest
126126

127-
needs:
128-
- mirror_to_gitlab
127+
# needs:
128+
# - mirror_to_gitlab
129129

130-
steps:
131-
- name: Wait
132-
uses: jakob-fritz/github2lab_action@main
133-
env:
134-
MODE: 'get_status' # Either 'mirror', 'get_status', or 'both'
135-
GITLAB_TOKEN: ${{ secrets.GITLAB_SECRET_H }}
136-
FORCE_PUSH: "true"
137-
GITLAB_HOSTNAME: "codebase.helmholtz.cloud"
138-
GITLAB_PROJECT_ID: "3525"
139-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130+
# steps:
131+
# - name: Wait
132+
# uses: jakob-fritz/github2lab_action@main
133+
# env:
134+
# MODE: 'get_status' # Either 'mirror', 'get_status', or 'both'
135+
# GITLAB_TOKEN: ${{ secrets.GITLAB_SECRET_H }}
136+
# FORCE_PUSH: "true"
137+
# GITLAB_HOSTNAME: "codebase.helmholtz.cloud"
138+
# GITLAB_PROJECT_ID: "3525"
139+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140140

141-
# - name: Get and prepare artifacts
142-
# run: |
143-
# pipeline_id=$(curl --header "PRIVATE-TOKEN: ${{ secrets.GITLAB_SECRET_H }}" --silent "https://gitlab.hzdr.de/api/v4/projects/3525/repository/commits/${{ github.head_ref || github.ref_name }}" | jq '.last_pipeline.id')
144-
# job_id=$(curl --header "PRIVATE-TOKEN: ${{ secrets.GITLAB_SECRET_H }}" --silent "https://gitlab.hzdr.de/api/v4/projects/3525/pipelines/$pipeline_id/jobs" | jq '.[] | select( .name == "bundle" ) | select( .status == "success" ) | .id')
145-
# curl --output artifacts.zip "https://gitlab.hzdr.de/api/v4/projects/3525/jobs/$job_id/artifacts"
146-
# rm -rf data
147-
# unzip artifacts.zip
148-
# ls -ratl
141+
# # - name: Get and prepare artifacts
142+
# # run: |
143+
# # pipeline_id=$(curl --header "PRIVATE-TOKEN: ${{ secrets.GITLAB_SECRET_H }}" --silent "https://gitlab.hzdr.de/api/v4/projects/3525/repository/commits/${{ github.head_ref || github.ref_name }}" | jq '.last_pipeline.id')
144+
# # job_id=$(curl --header "PRIVATE-TOKEN: ${{ secrets.GITLAB_SECRET_H }}" --silent "https://gitlab.hzdr.de/api/v4/projects/3525/pipelines/$pipeline_id/jobs" | jq '.[] | select( .name == "bundle" ) | select( .status == "success" ) | .id')
145+
# # curl --output artifacts.zip "https://gitlab.hzdr.de/api/v4/projects/3525/jobs/$job_id/artifacts"
146+
# # rm -rf data
147+
# # unzip artifacts.zip
148+
# # ls -ratl
149149

150150

151151
post-processing:
@@ -156,7 +156,7 @@ jobs:
156156
needs:
157157
- lint
158158
- user_cpu_tests_linux
159-
- wait_for_gitlab
159+
# - wait_for_gitlab
160160

161161
defaults:
162162
run:
@@ -188,7 +188,10 @@ jobs:
188188
run: |
189189
pip install genbadge[all]
190190
genbadge coverage -i coverage.xml -o htmlcov/coverage-badge.svg
191-
191+
192+
- name: Upload coverage reports to Codecov
193+
uses: codecov/codecov-action@v3
194+
192195
# - name: Generate benchmark report
193196
# uses: pancetta/github-action-benchmark@v1
194197
# if: ${{ (!contains(github.event.head_commit.message, '[CI-no-benchmarks]')) && (github.event_name == 'push') }}

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
|badge-ga|
22
|badge-ossf|
3+
|badge-cc|
34

45
Welcome to pySDC!
56
=================
@@ -79,7 +80,9 @@ This project also received funding from the `German Federal Ministry of Educatio
7980
The project also received help from the `Helmholtz Platform for Research Software Engineering - Preparatory Study (HiRSE_PS) <https://www.helmholtz-hirse.de/>`_.
8081

8182

82-
.. |badge-ga| image:: https://github.com/Parallel-in-Time/pySDC/actions/workflows/ci_pipeline.yml/badge.svg
83+
.. |badge-ga| image:: https://github.com/Parallel-in-Time/pySDC/actions/workflows/ci_pipeline.yml/badge.svg?branch=master
8384
:target: https://github.com/Parallel-in-Time/pySDC/actions/workflows/ci_pipeline.yml
8485
.. |badge-ossf| image:: https://bestpractices.coreinfrastructure.org/projects/6909/badge
85-
:target: https://bestpractices.coreinfrastructure.org/projects/6909
86+
:target: https://bestpractices.coreinfrastructure.org/projects/6909
87+
.. |badge-cc| image:: https://codecov.io/gh/Parallel-in-Time/pySDC/branch/master/graph/badge.svg?token=hpP18dmtgS
88+
:target: https://codecov.io/gh/Parallel-in-Time/pySDC

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pyflakes = [
7878
'-E203', '-E741', '-E402', '-W504', '-W605', '-F401'
7979
]
8080
#flake8-black = ["+*"]
81-
flake8-bugbear = ["+*", '-B023']
81+
flake8-bugbear = ["+*", '-B023', '-B028']
8282
flake8-comprehensions = ["+*", '-C408', '-C417']
8383

8484
[tool.black]

0 commit comments

Comments
 (0)