-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into release-2020.04.01
- Loading branch information
Showing
280 changed files
with
6,331 additions
and
5,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# used by coveralls.io, refs: | ||
# https://coveralls-python.readthedocs.io/en/latest/usage/tox.html#travisci | ||
CI | ||
TRAVIS | ||
TRAVIS_BRANCH | ||
TRAVIS_JOB_ID | ||
TRAVIS_PULL_REQUEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Unit tests & build apps | ||
|
||
on: ['push', 'pull_request'] | ||
|
||
jobs: | ||
|
||
flake8: | ||
name: Flake8 tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout python-for-android | ||
uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v1.1.0 | ||
with: | ||
python-version: 3.7 | ||
- name: Run flake8 | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox>=2.0 | ||
tox -e pep8 | ||
test: | ||
name: Pytest [Python ${{ matrix.python-version }} | ${{ matrix.os }}] | ||
needs: flake8 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7] | ||
os: [ubuntu-latest, macOs-latest] | ||
steps: | ||
- name: Checkout python-for-android | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1.1.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Tox tests | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox>=2.0 | ||
make test | ||
build: | ||
name: Unit test apk | ||
needs: [flake8] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build-arch: ['arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'] | ||
steps: | ||
- name: Checkout python-for-android | ||
uses: actions/checkout@v2 | ||
- name: Pull docker image | ||
run: | | ||
make docker/pull | ||
- name: Build apk Python 3 ${{ matrix.build-arch }} | ||
run: | | ||
mkdir -p apks | ||
make docker/run/make/with-artifact/testapps-with-numpy/${{ matrix.build-arch }} | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: bdist_test_app_unittests__${{ matrix.build-arch }}-debug-1.1.apk | ||
path: apks | ||
|
||
rebuild_updated_recipes: | ||
name: Test updated recipes | ||
needs: [flake8] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout python-for-android (current branch) | ||
uses: actions/checkout@v2 | ||
- name: Checkout python-for-android (develop branch) | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: 'develop' | ||
- name: Pull docker image | ||
run: | | ||
make docker/pull | ||
- name: Rebuild updated recipes | ||
run: | | ||
make docker/run/make/rebuild_updated_recipes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.