Initial commit with test workflow

This commit is contained in:
Test User 2025-09-10 17:43:17 +00:00
commit a9241ad785
2 changed files with 61 additions and 0 deletions

50
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,50 @@
name: Test Gitea Actions Runner
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Print system info
run: |
echo "=== System Information ==="
uname -a
whoami
pwd
ls -la
- name: Test basic commands
run: |
echo "=== Testing Basic Commands ==="
echo "Current date: $(date)"
echo "Available memory:"
free -h
echo "CPU info:"
lscpu | head -10
- name: Test Docker availability
run: |
echo "=== Testing Docker ==="
docker --version
docker run --rm hello-world
- name: Create test file
run: |
echo "=== Creating Test File ==="
echo "Hello from Gitea Actions!" > test-output.txt
cat test-output.txt
- name: Workflow completed
run: |
echo "=== Workflow Complete ==="
echo "✅ Gitea Actions runner is working correctly!"
echo "Runner executed all steps successfully."

11
README.md Normal file
View File

@ -0,0 +1,11 @@
# Test Gitea Actions Repository
This repository tests the Gitea Actions runner functionality.
## Features tested:
- Basic workflow execution
- System commands
- Docker functionality
- File operations
The workflow will run automatically on push to master/main branch.