-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathvalidator_validate_tests-suite.yml
More file actions
39 lines (38 loc) · 1.24 KB
/
validator_validate_tests-suite.yml
File metadata and controls
39 lines (38 loc) · 1.24 KB
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
name: validator - Validate test suites
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 6'
push:
paths:
- 'subprojects/validator/tests_suite.yml'
pull_request:
paths:
- 'subprojects/validator/tests_suite.yml'
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Get yamllint and wake-up the mirror endpoint
run: |
sudo apt-get install -y curl wget yamllint
curl --connect-timeout 600 -sk https://oshp-validator-mock.onrender.com
- name: Validate the venom tests suite file
run: |
cd subprojects/validator
yamllint --strict tests_suite.yml
- name: Get the latest release of venom
run: |
cd subprojects/validator
wget -q -O venom https://github.com/ovh/venom/releases/download/v1.0.1/venom.linux-amd64
chmod +x venom
./venom update || true
./venom version
- name: Execute the test plan
run: |
cd subprojects/validator
./venom run --var="target_site=https://oshp-validator-mock.onrender.com" --var="logout_url=/" tests_suite.yml
echo "[+] Venom log file content:"
cat venom.log