gitea-actions-playground/.gitea/workflows/default.yml
Martin Below 28b21b6565
Some checks failed
Build Project / TestWithDb (push) Failing after 0s
ci config
2024-06-10 07:16:45 +02:00

22 lines
571 B
YAML

name: Build Project
on: [push]
jobs:
TestWithDb:
runs-on: ubuntu-latest
services:
database:
image: mariadb:11.4.2-ubi9
environment:
MARIADB_DATABASE: "wazzl"
MARIADB_USER: "wazzl"
MARIADB_PASSWORD: "wazzl"
MARIADB_ROOT_PASSWORD: root
MARIADB_MYSQL_LOCALHOST_GRANTS: "wazzl"
container:
steps:
- name: install required stuff
run: apt-get -y update ; apt -y install netcat-openbsd
- name: run tests
run: which nc; nc localhost 3306