Testing action with docker compose
Unit Tests with docker compose / unit-test (pull_request) Failing after 1m10s Details
Unit Tests / unit-test (pull_request) Failing after 3m59s Details

This commit is contained in:
Sugui 2023-12-29 16:37:24 +01:00
parent 86f20e6b45
commit e64474a4f4
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
name: Unit Tests with docker compose
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [pull_request]
jobs:
unit-test:
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bun runtime
run: curl -fsSL https://bun.sh/install | bash
- name: Install docker-compose
run: apt install -y docker.io
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test