添加纯 shell 测试,无任何外部依赖
Some checks failed
Build and Docker Pipeline / build-docker (push) Blocked by required conditions
Build and Docker Pipeline / cleanup-and-report (push) Blocked by required conditions
Hello World Test / hello (push) Waiting to run
Pure Shell Test / test (push) Waiting to run
Simple DSW Build Test / check-env (push) Waiting to run
Simple DSW Build Test / check-tools (push) Blocked by required conditions
Simple DSW Build Test / network-test (push) Blocked by required conditions
Simple DSW Build Test / build-sample (push) Blocked by required conditions
Simple DSW Build Test / docker-test (push) Blocked by required conditions
Simple DSW Build Test / stress-test (push) Blocked by required conditions
Simple DSW Build Test / report (push) Blocked by required conditions
Build and Docker Pipeline / build-info (push) Successful in 41s
Build and Docker Pipeline / build-go-app (push) Has been cancelled
Some checks failed
Build and Docker Pipeline / build-docker (push) Blocked by required conditions
Build and Docker Pipeline / cleanup-and-report (push) Blocked by required conditions
Hello World Test / hello (push) Waiting to run
Pure Shell Test / test (push) Waiting to run
Simple DSW Build Test / check-env (push) Waiting to run
Simple DSW Build Test / check-tools (push) Blocked by required conditions
Simple DSW Build Test / network-test (push) Blocked by required conditions
Simple DSW Build Test / build-sample (push) Blocked by required conditions
Simple DSW Build Test / docker-test (push) Blocked by required conditions
Simple DSW Build Test / stress-test (push) Blocked by required conditions
Simple DSW Build Test / report (push) Blocked by required conditions
Build and Docker Pipeline / build-info (push) Successful in 41s
Build and Docker Pipeline / build-go-app (push) Has been cancelled
This commit is contained in:
18
.gitea/workflows/pure-shell-test.yml
Normal file
18
.gitea/workflows/pure-shell-test.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Pure Shell Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu
|
||||||
|
steps:
|
||||||
|
- run: echo "Step 1 - Hello from Runner"
|
||||||
|
- run: echo "Step 2 - Current dir is $(pwd)"
|
||||||
|
- run: echo "Step 3 - User is $(whoami)"
|
||||||
|
- run: echo "Step 4 - Time is $(date)"
|
||||||
|
- run: |
|
||||||
|
echo "Step 5 - System info"
|
||||||
|
uname -a
|
||||||
Reference in New Issue
Block a user