This commit is contained in:
Alie 2023-12-25 13:16:44 +01:00
parent a83dbd36db
commit 26a9bb637d
1 changed files with 21 additions and 0 deletions

View File

@ -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