This commit is contained in:
parent
d77a81daaa
commit
1242ecb82f
2 changed files with 36 additions and 1 deletions
29
.forgejo/workflows/unit-tests.yml
Normal file
29
.forgejo/workflows/unit-tests.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Android Unit Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/cirruslabs/android-sdk:35
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code manually
|
||||||
|
run: |
|
||||||
|
git clone https://$TOKEN@${GIT_DOMAIN}/${GIT_REPO}.git .
|
||||||
|
git checkout "$GITHUB_SHA"
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
GIT_DOMAIN: git.leomurca.xyz
|
||||||
|
GIT_REPO: leomurca/csgo-matches
|
||||||
|
|
||||||
|
- name: Make Gradle wrapper executable
|
||||||
|
run: chmod +x ./gradlew
|
||||||
|
- name: Build and Run Unit Tests
|
||||||
|
run: |
|
||||||
|
./gradlew assembleDebug testDebugUnitTest \
|
||||||
|
-PAPI_BASE_URL={{ secrets.API_BASE_URL }}\
|
||||||
|
-PACCESS_TOKEN="${{ secrets.ACCESS_TOKEN }}"
|
|
@ -1,3 +1,9 @@
|
||||||
# CS:GO Matches
|
# CS:GO Matches
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**CS:GO Matches** is an Android app that displays Counter-Strike: Global Offensive (CS:GO) matches
|
||||||
|
from multiple global tournaments. It shows real-time and upcoming matches starting from the current
|
||||||
|
date, with detailed information on teams, players, and match times.
|
Loading…
Add table
Reference in a new issue