add smoke workflow
This commit is contained in:
parent
1a7415bd56
commit
ca4b246179
25
.gitea/workflows/smoke.yml
Normal file
25
.gitea/workflows/smoke.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Smoke test
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hello:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Show context
|
||||||
|
run: |
|
||||||
|
echo "Hello from Gitea Actions on $(hostname)"
|
||||||
|
echo "Runner OS: $RUNNER_OS"
|
||||||
|
uname -a
|
||||||
|
node --version || true
|
||||||
|
docker --version || true
|
||||||
|
|
||||||
|
php-wp:
|
||||||
|
runs-on: php-wp
|
||||||
|
steps:
|
||||||
|
- name: Check WP-CLI / PHP
|
||||||
|
run: |
|
||||||
|
php --version
|
||||||
|
wp --info --allow-root || true
|
||||||
Loading…
Reference in New Issue
Block a user