Skip to content

CI

CI #1168

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
- release/*
schedule:
- cron: 0 2 * * 1-5
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install deno
run: curl -fsSL https://deno.land/x/install/install.sh | sh
- name: bundle sources
run: ~/.deno/bin/deno bundle test.ts
env:
RUST_BACKTRACE: 1
- name: run test
run: ~/.deno/bin/deno test test.ts
env:
RUST_BACKTRACE: 1
- name: fetch example app
run: ~/.deno/bin/deno bundle example/server.ts
env:
RUST_BACKTRACE: 1
- name: run example app tests
run: cd example/test && ~/.deno/bin/deno test --unstable --allow-net --allow-read server.test.ts
env:
RUST_BACKTRACE: 1