make sure fmt and offline checks are only run after DKIM & ACME is restored

This commit is contained in:
missytake
2024-03-28 17:57:22 +01:00
committed by link2xt
parent 481791c277
commit 9c6e90ae27

View File

@@ -4,7 +4,7 @@ on:
push: push:
branches: branches:
- main - main
pull-request: pull_request:
paths-ignore: paths-ignore:
- 'scripts/**' - 'scripts/**'
@@ -40,12 +40,6 @@ jobs:
- name: append venv/bin to PATH - name: append venv/bin to PATH
run: echo venv/bin >>$GITHUB_PATH run: echo venv/bin >>$GITHUB_PATH
- name: run formatting checks
run: cmdeploy fmt -v
- name: run deploy-chatmail offline tests
run: pytest --pyargs cmdeploy
- name: upload TLS cert after rebuilding - name: upload TLS cert after rebuilding
run: | run: |
echo " --- wait until staging.testrun.org VPS is rebuilt --- " echo " --- wait until staging.testrun.org VPS is rebuilt --- "
@@ -55,6 +49,12 @@ jobs:
rsync -avz acme root@staging.testrun.org:/var/lib/ || true rsync -avz acme root@staging.testrun.org:/var/lib/ || true
rsync -avz dkimkeys root@staging.testrun.org:/etc/ || true rsync -avz dkimkeys root@staging.testrun.org:/etc/ || true
- name: run formatting checks
run: cmdeploy fmt -v
- name: run deploy-chatmail offline tests
run: pytest --pyargs cmdeploy
- run: cmdeploy init staging.testrun.org - run: cmdeploy init staging.testrun.org
- run: cmdeploy run - run: cmdeploy run