Skip to content

update README.md

update README.md #44

Workflow file for this run

# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
name: Example
on:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
env:
# The MySQL docker container requires these environment variables to be set
# so we can create and migrate the test database.
# See: https://hub.docker.com/_/mysql
MYSQL_DATABASE: todo
MYSQL_ROOT_PASSWORD: testrootpass
ports:
# Opens port 3306 on service container and host
# https://docs.github.com/en/actions/using-containerized-services/about-service-containers
- 3306:3306
# Before continuing, verify the mysql container is reachable from the ubuntu host
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
pipeline: .
args: |
test
working-directory: example
env:
MARIADB_DATABASE: todo
MARIADB_USER: root
MARIADB_PASSWORD: testrootpass
MARIADB_ROOT_PASSWORD: root
MARIADB_HOST: 127.0.0.1
- name: Run Dagger Pipelines
run: dagger run deno run -A ../src/dagger/runner.ts
working-directory: example