65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
name: Run CI Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [test_actions_on_utils]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout test-ci repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: tligui_y/test-ci
|
|
ref: main
|
|
path: test-ci
|
|
|
|
- name: Run reusable pytest-ci action
|
|
uses: ./test-ci
|
|
with:
|
|
ci-branch: test_actions_on_utils
|
|
module-dir: slic
|
|
gitea-domain: gitea.psi.ch
|
|
repo-path: tligui_y/slic
|
|
ci-token: ${{ secrets.CI_TOKEN }}
|
|
use_tmux_test: "true"
|
|
apt_packages: "postfix"
|
|
custom_shell_commands: |
|
|
pip install epicman
|
|
continue-on-error: true
|
|
|
|
##################################### TO NOT CHANGE #################################
|
|
|
|
- name : Command shell
|
|
run:
|
|
chmod +x temp-ci/give_runs_log.sh
|
|
./temp-ci/give_runs_log.sh "outputs/custom-shell.log"
|
|
|
|
- name: Pixi download
|
|
run: |
|
|
./temp-ci/give_runs_log.sh "outputs/pixi.log"
|
|
|
|
- name: Run tests and generate reports
|
|
run: |
|
|
./temp-ci/give_runs_log.sh "outputs/test-ci.log"
|
|
|
|
- name: Prepare the push to wiki
|
|
run: |
|
|
./temp-ci/give_runs_log.sh "outputs/wiki-clone.log"
|
|
|
|
- name: Commit to wiki
|
|
run: |
|
|
./temp-ci/give_runs_log.sh "outputs/commit-push-wiki.log"
|
|
|
|
- name: Wiki report URLs
|
|
run: |
|
|
./temp-ci/give_runs_log.sh "outputs/wiki-report-urls.log"
|
|
|
|
|
|
|
|
|
|
|
|
|