mirror of https://github.com/iSoron/uhabits.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
598 B
32 lines
598 B
name: Build & Test
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
jobs:
|
|
Test:
|
|
runs-on: self-hosted
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Check out source code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build project
|
|
run: ./build.sh build
|
|
|
|
- name: Run Android tests
|
|
run: ./build.sh android-tests-parallel 28 29 30 32 33 34
|
|
|
|
- name: Upload artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: build
|
|
path: |
|
|
build/*log
|
|
uhabits-android/build/outputs
|
|
|