Skip to content

Update fluentci.toml #6

Update fluentci.toml

Update fluentci.toml #6

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Shutdown Ubuntu MySQL
run: |
sudo service mysql stop
sudo apt-get remove --purge mysql-server mysql-client mysql-common -y
sudo apt-get autoremove -y
sudo apt-get autoclean
sudo rm -rf /etc/mysql
sudo rm -rf /var/lib/mysql
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: mariadb
args: start
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MARIADB_USER: user
MARIADB_PASSWORD: testrootpass
MARIADB_DATABASE: todo
- name: test
run: fluentci run --wasm django test
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MARIADB_DATABASE: todo
MARIADB_USER: user
MARIADB_PASSWORD: testrootpass
MARIADB_ROOT_PASSWORD: root
MARIADB_HOST: 127.0.0.1