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