bot-api/.gitea/workflows/test-dev.yaml

21 lines
533 B
YAML
Raw Normal View History

2023-12-25 12:16:44 +00:00
name: test-dev
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
pull_request:
jobs:
run-tests:
2023-12-25 12:38:16 +00:00
container:
2023-12-25 13:00:04 +00:00
#image: docker:stable-dind
2023-12-25 12:54:09 +00:00
#image: catthehacker/ubuntu:act-latest
2023-12-25 12:16:44 +00:00
env:
COMPOSE_FILE: compose.yaml
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Pull images
2023-12-25 12:54:09 +00:00
run: dind compose pull
2023-12-25 12:16:44 +00:00
- name: Run tests
2023-12-25 12:54:09 +00:00
run: dind compose run bot-api bun test