-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (31 loc) · 793 Bytes
/
e2e.yml
File metadata and controls
34 lines (31 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: End-to-end testing
# E2E tests can be invoked manually.
# They are invoked automatically when a new tag (version) is pushed however.
# TODO: move this to when a new release is made?
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Invoke tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SERVER: ${{ secrets.SERVER }}
DATASTORE_SERVER: ${{ secrets.DATASTORE_SERVER }}
API_KEY: ${{ secrets.API_KEY }}
run: |
set -eu
export SERVER API_KEY
pwd
cd e2e
./up.sh
./polar-test.sh
./down.sh