22 lines
562 B
YAML
22 lines
562 B
YAML
name: test-dev
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
run-tests:
|
|
container:
|
|
image: catthehacker/ubuntu:act-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: Start docker
|
|
run: systemctl start docker
|
|
- name: Pull images
|
|
run: docker compose pull
|
|
- name: Run tests
|
|
run: docker compose run bot-api bun test |