Skip to content

Commit

Permalink
feat: e2e ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 6, 2024
1 parent 7d898b6 commit 4eed1e9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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
5 changes: 3 additions & 2 deletions tests/test_project/backend.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
registries:
default:
git:
url: https://github.com/rivet-gg/open-game-services.git
branch: main
# url: https://github.com/rivet-gg/opengb-registry.git
url: [email protected]:rivet-gg/opengb-registry.git
rev: f28b9c0ddbb69fcc092dfff12a18707065a69251
directory: ./modules
# default:
# local:
Expand Down

0 comments on commit 4eed1e9

Please sign in to comment.