-
Notifications
You must be signed in to change notification settings - Fork 127
33 lines (32 loc) · 1.28 KB
/
daily.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
name: daily
on:
schedule:
# Run load testing at 01:30 UTC every day
- cron: '30 1 * * *'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: |
SCRIPT="${GITHUB_WORKSPACE}/src/test/scripts/test-repetition.sh"
# Check that script is exists
if [ ! -f "${SCRIPT}" ]; then
echo "Script ${SCRIPT} not found"
exit 1
fi
# Make script runnable
chmod +x "${SCRIPT}"
# Test eo-parser
${SCRIPT} --max 10 --folder ${GITHUB_WORKSPACE}/eo-parser
# Test eo-maven-plugin
${SCRIPT} --max 10 --folder ${GITHUB_WORKSPACE}/eo-maven-plugin
# Test eo-runtime
${SCRIPT} --max 10 --folder ${GITHUB_WORKSPACE}/eo-runtime
# @todo #2085:90min Add GitHub action step to create an issue.
# It would be convenient to add github action step that will create an
# issue in case of any of the tests is failed. We can do it through
# <a href="https://github.com/JasonEtco/create-an-issue">create-an-issue</a>
# action. Also, you can read about that problem in that discussion:
# <a href="https://github.com/orgs/community/discussions/25111">
# Create an issue case the workflow fails</a>