Skip to content

ci: update ci.yml

ci: update ci.yml #2

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Tests
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: mongo
args: |
start
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: |
fluentci run --wasm devbox run pip install -r requirements.txt
fluentci run --wasm devbox run python run.py &
sleep 3
fluentci run --wasm devbox run python -m unittest
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DB: mongodb://localhost:27017/tasks
PORT: 5000