From a9241ad7858facecf29725c25ac55d5dc28b77ea Mon Sep 17 00:00:00 2001 From: Test User Date: Wed, 10 Sep 2025 17:43:17 +0000 Subject: [PATCH] Initial commit with test workflow --- .gitea/workflows/test.yml | 50 +++++++++++++++++++++++++++++++++++++++ README.md | 11 +++++++++ 2 files changed, 61 insertions(+) create mode 100644 .gitea/workflows/test.yml create mode 100644 README.md diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..fb6259a --- /dev/null +++ b/.gitea/workflows/test.yml @@ -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." \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..68a6e15 --- /dev/null +++ b/README.md @@ -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. \ No newline at end of file