Add yml_example.md
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
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
|
||||
report-dir: ci-reports
|
||||
gitea-domain: gitea.psi.ch
|
||||
repo-path: tligui_y/slic
|
||||
ci-token: ${{ secrets.CI_TOKEN }}
|
||||
continue-on-error: true
|
||||
|
||||
##################################### TO NOT CHANGE #################################
|
||||
|
||||
- name: Execute give_runs_log from test-ci repo
|
||||
run: |
|
||||
chmod +x temp-ci/give_runs_log.sh
|
||||
|
||||
- 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"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user