From 26a9bb637dfd69e0cc568323acefcf9472cc8073 Mon Sep 17 00:00:00 2001 From: Alie Date: Mon, 25 Dec 2023 13:16:44 +0100 Subject: [PATCH] actions --- .gitea/workflows/test-dev.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/test-dev.yaml diff --git a/.gitea/workflows/test-dev.yaml b/.gitea/workflows/test-dev.yaml new file mode 100644 index 0000000..b19460c --- /dev/null +++ b/.gitea/workflows/test-dev.yaml @@ -0,0 +1,21 @@ +name: test-dev +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: + pull_request: + +jobs: + run-tests: + runs-on: ubuntu-latest + env: + COMPOSE_FILE: compose.yaml + DOCKER_USER: ${{ secrets.DOCKER_USER }} + DOCKER_PASS: ${{ secrets.DOCKER_PASS }} + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Login + run: docker login -u $DOCKER_USER -p $DOCKER_PASS + - name: Pull images + run: docker compose pull + - name: Run tests + run: docker compose run bun test \ No newline at end of file