Skip to content

Commit 1afe2b7

Browse files
author
Florian Maas
authored
make ci/cd sequential (#26)
* make ci/cd sequential * added make docs-generate to ci cd
1 parent 68d56fa commit 1afe2b7

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

.github/workflows/on-merge-to-main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
2929
tox:
3030
runs-on: ubuntu-latest
31+
needs: quality
3132
strategy:
3233
matrix:
3334
python-version: ['3.7', '3.8', '3.9', '3.10']

.github/workflows/on-pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
2626
tox:
2727
runs-on: ubuntu-latest
28+
needs: quality
2829
strategy:
2930
matrix:
3031
python-version: ['3.7', '3.8', '3.9', '3.10']

.github/workflows/on-release-main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
2727
tox:
2828
runs-on: ubuntu-latest
29+
needs: quality
2930
strategy:
3031
matrix:
3132
python-version: ['3.7', '3.8', '3.9', '3.10']
@@ -44,8 +45,9 @@ jobs:
4445
poetry add tox-gh-actions
4546
tox
4647
47-
release:
48+
publish:
4849
runs-on: ubuntu-latest
50+
needs: tox
4951
steps:
5052

5153
- name: Check out
@@ -69,6 +71,7 @@ jobs:
6971

7072
documentation:
7173
runs-on: ubuntu-latest
74+
needs: publish
7275
steps:
7376

7477
- name: Check out

static/.DS_Store

-6 KB
Binary file not shown.

{{cookiecutter.project_name}}/.github/workflows/on-release-main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ jobs:
116116
- name: Generate documentation
117117
run: |
118118
source .venv/bin/activate
119+
make docs-generate
119120
make docs-build
120121
121122
- name: Deploy documentation to GitHub pages

0 commit comments

Comments
 (0)