Add .forgejo/workflows/test.yml
This commit is contained in:
parent
ea870dd91f
commit
5dba9a5f6c
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/test.yml
Normal file
25
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# In your Forgejo repository: .forgejo/workflows/test.yml
|
||||||
|
name: Test Pi Cluster Workers
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-arm64:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- name: Check runner info
|
||||||
|
run: |
|
||||||
|
echo "Runner hostname: $(hostname)"
|
||||||
|
echo "Architecture: $(uname -m)"
|
||||||
|
echo "OS: $(uname -a)"
|
||||||
|
echo "Available CPU cores: $(nproc)"
|
||||||
|
echo "Available memory: $(free -h)"
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Test basic commands
|
||||||
|
run: |
|
||||||
|
echo "Testing basic shell commands..."
|
||||||
|
ls -la
|
||||||
|
pwd
|
||||||
|
whoami
|
Loading…
Add table
Add a link
Reference in a new issue