-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.06 KB
/
test.yml
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
35
36
37
38
39
40
41
42
---
name: 🧪 Test
on:
pull_request:
branches:
- main
permissions: {}
jobs:
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
# from orig test script
env:
APP_HOST: jupyter-lab
APP_PORT: 8888
PROXY_PORT: 3000
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
AUTH0_TENANT_DOMAIN: ${{ secrets.TENANT_DOMAIN }}
LOGOUT_URL: https://cpanel-master.services.dev.mojanalytics.xyz
TEST_TAG: ministryofjustice/nginx-jupyter:test
steps:
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set Up Container Structure Test
id: setup_container_structure_test
uses: ministryofjustice/github-actions/setup-container-structure-test@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490 # v18.5.0
- name: Test
id: test
shell: bash
env:
IMAGE_TAG: ${{ github.sha }}
run: |
make test