-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (34 loc) · 1.07 KB
/
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 ESCAPE testsuite
on:
push:
schedule:
- cron: '0 * * * *'
jobs:
run-testsuite:
name: ESCAPE authN/Z 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/oidc-agent/* $HOME/.config/oidc-agent/
- name: Fetch crls
run: docker-compose up trust
- name: Run test suite
env:
OIDC_AGENT_SECRET: ${{ secrets.OIDC_AGENT_SECRET }}
OIDC_AGENT_CMS_SECRET: ${{ secrets.OIDC_AGENT_CMS_SECRET }}
ROBOT_OPTIONS: --exclude step-1
run: |
mkdir -p reports && chmod 777 reports
docker-compose up -d ts
docker-compose exec -T -e ROBOT_OPTIONS="${ROBOT_OPTIONS}" ts bash -c 'cd test-suite && sh ci/run.sh'
docker-compose down
rm -rf $HOME/.config/oidc-agent
- name: Archive reports
uses: actions/upload-artifact@v2
with:
name: reports
path: reports
retention-days: 30