ci: add e2e tests #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions | |
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v5 | |
with: | |
wasm: true | |
plugin: deno | |
args: | | |
fmt | |
lint | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: | | |
deno run -A --unstable-kv main.ts init -t tsirysndr/base-workspace | |
deno run -A --unstable-kv main.ts up | |
deno run -A --unstable-kv main.ts logs | |
docker ps |