mirror of
https://github.com/chatmail/relay.git
synced 2026-05-18 04:48:57 +00:00
make sure fmt and offline checks are only run after DKIM & ACME is restored
This commit is contained in:
14
.github/workflows/test-and-deploy.yaml
vendored
14
.github/workflows/test-and-deploy.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user