Skip to content

ci: set GITHUB_ACCESS_TOKEN #3

ci: set GITHUB_ACCESS_TOKEN

ci: set GITHUB_ACCESS_TOKEN #3

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
tasks:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Shutdown Ubuntu MySQL
if: matrix.os == 'ubuntu-latest'
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