diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index e3bb282..1aab92a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,7 +10,9 @@ jobs: run: | rm -rf src git clone https://gitea.tose.top/admin/codex-app-server.git src - cd src && git rev-parse HEAD + cd src && git fetch origin "${{ gitea.ref }}" && git checkout FETCH_HEAD + echo "pushed ref: ${{ gitea.ref }}" + git rev-parse HEAD && git log --oneline -1 - name: host tests run: cd src && python3 -m unittest discover -s tests -v - name: cloud tests