Some checks failed
Test CI Pipeline / test (push) Failing after 0s
Add test repository to verify Forgejo runner deployment: - Basic CI workflow testing system info and container runtime - Test Podman container execution - Simple Node.js test script 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
No EOL
1 KiB
YAML
40 lines
No EOL
1 KiB
YAML
name: Test CI Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Test system information
|
|
run: |
|
|
echo "Testing Forgejo runner with Podman support"
|
|
echo "Runner OS: $(uname -a)"
|
|
echo "Current user: $(whoami)"
|
|
echo "Working directory: $(pwd)"
|
|
ls -la
|
|
|
|
- name: Test container runtime
|
|
run: |
|
|
echo "Testing container runtime..."
|
|
which podman || echo "Podman not found in PATH"
|
|
podman --version || echo "Podman version failed"
|
|
|
|
- name: Test simple container
|
|
run: |
|
|
echo "Testing simple container execution..."
|
|
podman run --rm alpine:latest echo "Hello from Alpine container!"
|
|
|
|
- name: Test Node.js environment
|
|
run: |
|
|
echo "Testing Node.js environment..."
|
|
node --version || echo "Node.js not available"
|
|
npm --version || echo "npm not available" |