v1.0.0 #28

Merged
bizcochito merged 147 commits from develop into main 2024-01-14 19:49:34 +00:00
2 changed files with 9 additions and 26 deletions
Showing only changes of commit 471c84b18c - Show all commits

View File

@ -1,19 +0,0 @@
name: Unit Tests with docker compose
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [pull_request]
jobs:
unit-test:
container:
image: docker:dind
steps:
- name: echo
run: echo $DOCKER_HOST
- name: Installing node
run: apk add nodejs git curl bash
- 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
run: docker compose down -v && docker compose run bot-api bun test

View File

@ -1,17 +1,19 @@
name: Unit Tests
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
image: docker:dind
steps:
- name: echo
run: echo $DOCKER_HOST
- name: Installing node
run: apk add nodejs git curl bash
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bun runtime
run: curl -fsSL https://bun.sh/install | bash
- name: Install dependencies
run: ~/.bun/bin/bun install
- name: Run the test
run: ~/.bun/bin/bun test
run: curl -fsSL https://bun.sh/install | bash
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test