diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..3990b50 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,30 @@ +name: DevOps Lab CI + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + smoke-test: + name: Test repository + runs-on: lab-host + + steps: + - name: Checkout repository + uses: builtin:checkout + + - name: Run smoke tests + run: | + set -eu + + echo "Running CI pipeline" + echo "Current user: $(whoami)" + + git --version + test -f README.md + + echo "All checks passed!" \ No newline at end of file