Skip to content

chore: add core tests to ci #34

chore: add core tests to ci

chore: add core tests to ci #34

Workflow file for this run

name: Test Project
on:
- push
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# Add private key to be able to access OpenGB repository
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_DEPLOY_KEY }}
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: "1.41.1"
- name: Build OpenGB
run: deno task cli:install
- name: Check Formatting
run: cd tests/basic/ && opengb format --check
- name: Lint
run: cd tests/basic/ && opengb lint
- name: Generate DB Migrations
run: cd tests/basic/ && opengb db dev
- name: Run Tests
run: cd tests/basic/ && opengb test