Compare commits
13
Commits
master
...
v125040991
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a602f7adf2 | ||
|
|
cf6ef51edf | ||
|
|
0b7f832573 | ||
|
|
22c966bf16 | ||
|
|
bdf2bb8b31 | ||
|
|
ceae91206d | ||
|
|
11c0e744dc | ||
|
|
7374e95b0e | ||
|
|
8a7743a6fb | ||
|
|
1b2e9edc8c | ||
|
|
7c65a63315 | ||
|
|
02d503e03a | ||
|
|
24b9320d6d |
@@ -6,8 +6,7 @@ jobs:
|
||||
BuildAndTestAndCoverage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: "Check android app changes"
|
||||
@@ -16,6 +15,9 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
androidApp/src/**
|
||||
shared/src/commonMain/**
|
||||
shared/src/androidMain/**
|
||||
shared/src/commonTest/**
|
||||
- name: Fetch tags
|
||||
if: steps.check-android-changes.outputs.any_modified == 'true'
|
||||
run: git fetch --tags -p
|
||||
@@ -24,7 +26,6 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
cache: gradle
|
||||
- uses: gradle/actions/setup-gradle@v3
|
||||
if: steps.check-android-changes.outputs.any_modified == 'true'
|
||||
- uses: android-actions/setup-android@v3
|
||||
@@ -34,14 +35,7 @@ jobs:
|
||||
run: mkdir -p ~/.gradle && echo "org.gradle.daemon=false\nignoreGitVersion=true" >> ~/.gradle/gradle.properties
|
||||
- name: Build and test
|
||||
if: steps.check-android-changes.outputs.any_modified == 'true'
|
||||
run: ./gradlew build -x testReleaseUnitTest -x testDebugUnitTest -x testGithubConfigReleaseUnitTest -x testGithubConfigDebugUnitTest # These tests will be done
|
||||
# TESTS ARE RUN LOCALLY
|
||||
# - uses: KengoTODA/actions-setup-docker-compose@v1
|
||||
# with:
|
||||
# version: "2.23.3"
|
||||
# - name: run selfoss
|
||||
# run: |
|
||||
# docker compose -f .gitea/workflows/assets/docker-compose.yml up -d
|
||||
run: ./gradlew build -x testReleaseUnitTest -x testDebugUnitTest -x testGithubConfigReleaseUnitTest -x testGithubConfigDebugUnitTest
|
||||
- name: coverage
|
||||
if: steps.check-android-changes.outputs.any_modified == 'true'
|
||||
run: |
|
||||
@@ -54,8 +48,3 @@ jobs:
|
||||
retention-days: 1
|
||||
overwrite: true
|
||||
include-hidden-files: true
|
||||
# TESTS ARE RUN LOCALLY
|
||||
# - name: Clean
|
||||
# if: always()
|
||||
# run: |
|
||||
# docker compose -f .gitea/workflows/assets/docker-compose.yml stop
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Create tag
|
||||
name: Realease
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.gitea/workflows/common_build.yml
|
||||
uses: ./.gitea/workflows/on_called_build.yml
|
||||
createTagAndChangelog:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
@@ -86,7 +86,6 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
cache: gradle
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
- name: Configure gradle...
|
||||
|
500 Internal Server Error
Gitea Version: 1.28.0+dev-215-g805697089e | ||||