File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Test package installation
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 5 4 * * 0" # every sunday at 04:05
7+
8+ jobs :
9+ test_packages :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Setup BATS
13+ uses : mig4/setup-bats@v1
14+ with :
15+ bats-version : 1.9.0
16+
17+ - name : Check out code
18+ uses : actions/checkout@v4
19+
20+ - name : Run test
21+ run : make -C packages test
Original file line number Diff line number Diff line change 44
55docker_image=" ${1} "
66
7- docker run --pull=always -e OBS_PROJECT=" ${OBS_PROJECT:- } " -e CRYSTAL_VERSION=" ${CRYSTAL_VERSION:- } " --rm -it - v $( pwd) /scripts:/scripts -v $( pwd) /support:/support $docker_image /bin/sh -c " /support/test-install.sh ${@: 2} "
7+ docker run --pull=always -e OBS_PROJECT=" ${OBS_PROJECT:- } " -e CRYSTAL_VERSION=" ${CRYSTAL_VERSION:- } " --rm -v $( pwd) /scripts:/scripts -v $( pwd) /support:/support $docker_image /bin/sh -c " /support/test-install.sh ${@: 2} "
You can’t perform that action at this time.
0 commit comments