-
Notifications
You must be signed in to change notification settings - Fork 11
43 lines (34 loc) · 1019 Bytes
/
run-testsuite.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
43
name: Run JWT compliance testsuite
on:
push:
branches: [ master ]
schedule:
- cron: '0 13 * * *'
jobs:
run-testsuite:
name: JWT compliance test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup oidc-agent account
run: |
mkdir -p ${HOME}/.config/oidc-agent
cp assets/.config/oidc-agent/* $HOME/.config/oidc-agent/
- name: Fetch crls
run: docker-compose up trust
- name: Run testsuite
env:
OIDC_AGENT_SECRET: ${{ secrets.OIDC_AGENT_SECRET }}
ROBOT_ARGS: --exclude strict
# RUN_DEBUG: yes
run: |
mkdir -p reports && chmod 777 reports
docker-compose up -d ts
docker-compose exec -T ts bash -c 'cd test-suite && sh ci/run.sh'
docker-compose down
- name: Archive reports
uses: actions/upload-artifact@v2
with:
name: reports
path: reports
retention-days: 30