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

15 lines
457 B
YAML
Raw Normal View History

2023-12-29 15:37:24 +00:00
name: Unit Tests with docker compose
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [pull_request]
jobs:
unit-test:
container:
2023-12-29 15:53:56 +00:00
image: docker:latest
2023-12-29 15:37:24 +00:00
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bun runtime
run: curl -fsSL https://bun.sh/install | bash
- name: Run docker-compose
2023-12-29 15:48:26 +00:00
run: moby compose down -v && moby compose run bot-api bun test