30 lines
672 B
YAML
30 lines
672 B
YAML
name: Minimal Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, develop ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Basic Test
|
|
run: |
|
|
echo "✅ Workflow is running!"
|
|
echo "Container environment:"
|
|
uname -a
|
|
echo "Available commands:"
|
|
which docker || echo "Docker not available"
|
|
which git || echo "Git not available"
|
|
echo "Network test:"
|
|
curl --connect-timeout 5 http://gitea:3000 || echo "Cannot reach gitea"
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Success
|
|
run: |
|
|
echo "🎉 Checkout successful!"
|
|
ls -la
|