feat: e2e ci tests #8
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
name: E2E | |
on: | |
- push | |
- pull_request | |
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/test_project/ && opengb format --check | |
- name: Lint | |
run: cd tests/test_project/ && opengb lint | |
- name: Run Tests | |
run: cd tests/test_project/ && opengb test |