Skip to content

Fix tests

Fix tests #7

Workflow file for this run

name: MariaDB tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
defaults:
run:
working-directory: utopia_database_adapter_mariadb/
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
submodules: recursive
- name: Start Services
run: |
docker compose up -d
sleep 5
- name: Test
run: docker compose exec app dart test
- name: Stop
run: docker compose down