diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 000000000..b22ec77cf --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,32 @@ +name: Android Test +on: [push] + +jobs: + lint: + name: Android Lint + runs-on: docker + container: + image: 'ubuntu:android-24.04' + steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Lint + shell: bash + run: ./gradlew lint + + android-check: + runs-on: docker + container: + image: 'ubuntu:android-24.04' + steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Test + shell: bash + run: ./gradlew testNightlyDebugUnitTest --stacktrace diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml deleted file mode 100644 index 32eb6e3a8..000000000 --- a/.woodpecker/lint.yml +++ /dev/null @@ -1,10 +0,0 @@ -steps: - build: - when: - event: [ push ] - image: androidsdk/android-31 - commands: - - apt-get update - - apt-get install -y openjdk-17-jdk-headless - - update-java-alternatives -a - - ./gradlew lint diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml deleted file mode 100644 index 417fb5bf0..000000000 --- a/.woodpecker/test.yml +++ /dev/null @@ -1,10 +0,0 @@ -steps: - build: - when: - event: [ push ] - image: androidsdk/android-31 - commands: - - apt-get update - - apt-get install -y openjdk-17-jdk-headless - - update-java-alternatives -a - - ./gradlew testNightlyDebugUnitTest --stacktrace