From 9c6e90ae27145409c0faa3dae527ac3efe2ad6ce Mon Sep 17 00:00:00 2001 From: missytake Date: Thu, 28 Mar 2024 17:57:22 +0100 Subject: [PATCH] make sure fmt and offline checks are only run after DKIM & ACME is restored --- .github/workflows/test-and-deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-and-deploy.yaml b/.github/workflows/test-and-deploy.yaml index 83962a22..5004b4cb 100644 --- a/.github/workflows/test-and-deploy.yaml +++ b/.github/workflows/test-and-deploy.yaml @@ -4,7 +4,7 @@ on: push: branches: - main - pull-request: + pull_request: paths-ignore: - 'scripts/**' @@ -40,12 +40,6 @@ jobs: - name: append venv/bin to 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 run: | 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 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 run