test: action
Some checks failed
Check master code / checkout (push) Failing after 2m20s

This commit is contained in:
aminecmi 2024-12-21 21:02:56 +01:00
parent aad93ef722
commit 4472953238
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,9 @@
version: '3'
services:
selfoss:
container_name: selfoss
image: rsprta/selfoss
restart: unless-stopped
ports:
- "8888:8888"

View File

@ -0,0 +1,37 @@
name: Check master code
on:
push:
branches:
- testing
jobs:
checkout:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Fetch tags
# run: git fetch --tags -p
# - uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: '17'
# - name: Setup Android SDK
# uses: android-actions/setup-android@v3
# - name: Configure gradle...
# run: mkdir -p ~/.gradle && echo "org.gradle.daemon=false\nignoreGitVersion=true\nsystemProp.org.gradle.internal.http.connectionTimeout=180000\nsystemProp.org.gradle.internal.http.socketTimeout=180000" >> ~/.gradle/gradle.properties
- name: Init compose
uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: "2.23.3"
- name: run selfoss
run: |
pwd
docker compose -f .gitea/workflows/assets/docker-compose.yml up -d
sleep 2m
docker ps -a
wget -O- 127.0.0.1:8888
# - name: Build and test
# run: ./gradlew build --stacktrace