Skip to content

Commit ef50835

Browse files
committed
[testapp] Build test app for all archs
and: - remove Python 2 test apps because: + we already test Python 2 with travis + Python 2 it's almost at the end of his life - change gh-actions job title (because it looks better)
1 parent 3dea1d1 commit ef50835

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/push.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unit tests & Build Testapp
1+
name: Unit tests & build apps
22

33
on: ['push', 'pull_request']
44

@@ -42,26 +42,25 @@ jobs:
4242
make test
4343
4444
build:
45-
name: Build testapp
45+
name: Unit test apk
4646
needs: [flake8]
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
build-arch: ['arm64-v8a', 'armeabi-v7a', 'x86_64']
51-
python-version: ['python2', 'python3']
50+
build-arch: ['arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86']
5251
steps:
5352
- name: Checkout python-for-android
5453
uses: actions/checkout@v2
5554
- name: Pull docker image
5655
run: |
5756
make docker/pull
58-
- name: Build apk ${{ matrix.python-version }} ${{ matrix.build-arch }}
57+
- name: Build apk python3 ${{ matrix.build-arch }}
5958
run: |
6059
mkdir -p apks
61-
make docker/run/make/with-artifact/testapps/${{ matrix.python-version }}/${{ matrix.build-arch }}
60+
make docker/run/make/with-artifact/testapps/python3/${{ matrix.build-arch }}
6261
- uses: actions/upload-artifact@v1
6362
with:
64-
name: test_app_unittests__${{ matrix.python-version }}-${{ matrix.build-arch }}-debug-1.1.apk
63+
name: test_app_unittests__python3-${{ matrix.build-arch }}-debug-1.1.apk
6564
path: apks
6665

6766
rebuild_updated_recipes:

0 commit comments

Comments
 (0)