Commit graph

974 commits

Author SHA1 Message Date
Andre Miras
d74aef3dcd Integration testing
Checks:
- buildozer installs
- buildozer --help
- buildozer init

Currently `buildozer android debug` is not ran as it's not yet fully reliable.
2020-05-02 20:41:49 +02:00
Andre Miras
5f80316cb0 Updates CHANGELOG.md with unreleased section
To make the future release less painful and to follow the motto:
if it hurts do it more
Also documented in:
https://keepachangelog.com/en/1.0.0/
2020-05-01 15:35:15 +02:00
Andre Miras
1f8c88fe7b
Merge pull request #1078 from AndreMiras/feature/test_on_macos
Also tests against macOS platform
2020-04-25 21:31:22 +02:00
Andre Miras
891e24b6f2 Also tests against macOS platform
Increases coverage from 28% to 30%.
2020-04-25 18:21:10 +02:00
Andre Miras
504efcc243
Merge pull request #1071 from lerela/1070_fix_python3_raw_input
Support for both input and raw_input in iOS target to avoid NameError with Python 3
2020-04-24 19:34:47 +02:00
lerela
cd11167067 Encode password before it is saved to file as Python 3 input returns a string, not bytes 2020-04-16 19:11:13 +02:00
lerela
d3fd1ad9e3 Support for both input and raw_input in iOS target to avoid NameError with Python 3 (fixes #1070) 2020-04-16 17:24:35 +02:00
Andre Miras
b566125f71
Merge pull request #1069 from AndreMiras/feature/test_android_build_package
Unit tests TargetAndroid.build_package()
2020-04-13 21:30:19 +02:00
Andre Miras
757941aabb Unit tests TargetAndroid.build_package()
Increases android.py coverage from 24% to 36% and total coverage from
25% to 29%.
Note that this tests would have caught the glob issue reported in #1044.
2020-04-13 21:27:13 +02:00
Andre Miras
35cce59e63
Merge pull request #1068 from AndreMiras/feature/dedicated_docker_job
Dedicated Docker build/run job
2020-04-13 19:44:35 +02:00
Andre Miras
d3361bbcfb
Merge pull request #1066 from AndreMiras/feature/linter_F841
F841: local variable is assigned to but never used
2020-04-13 19:21:44 +02:00
Andre Miras
ee34d7e95b Dedicated Docker build/run job
Creates a dedicated job for Docker testing so it can run in parallel
with the other tests.
Prior this change the CI was running in 3 minutes, it now runs in 2.
2020-04-13 18:53:29 +02:00
Andre Miras
5f35e8b409 F841: local variable is assigned to but never used 2020-04-13 17:38:32 +02:00
Andre Miras
422f951931
Merge pull request #1063 from AndreMiras/feature/coveralls_from_pull_requests
Fixes coveralls.io on pull requests
2020-04-13 17:09:32 +02:00
Andre Miras
58774d8aac
Merge pull request #1065 from AndreMiras/feature/linting_organisation_and_fixes
Linting organisation and fixes
2020-04-13 17:03:09 +02:00
Andre Miras
6b03c54832 PEP8 fixes
- E129 visually indented line with same indent as next logical line
- E226 missing whitespace around arithmetic operator
- E241 multiple spaces after ','
- E262 inline comment should start with '# '
- E301 expected 1 blank line, found 0
- E303 too many blank lines
- E502 the backslash is redundant between bracket
- E741 ambiguous variable name
- W391 blank line at end of file
2020-04-13 14:26:27 +02:00
Andre Miras
ef63f13111 Organises linter errors and check tests/ directory 2020-04-13 14:20:58 +02:00
Andre Miras
3f1b44de6f Fixes coveralls.io on pull requests
Coveralls.io now runs on pull requests as well.
The report is automatically uploaded on coveralls.io however it needs to
be accessed by copying the report URL to review it.
Next up would be to have it commenting on the pull request to see on
first sight if it increased or decreased.
Also made a couple of adjustment to the workflow file to clarify between
requirements building, Docker build/run and actual testing.
2020-04-11 01:51:04 +02:00
Andre Miras
556724f62d
Merge pull request #1061 from AndreMiras/feature/test_android_module
Starts unit testing buildozer/targets/android.py
2020-04-10 22:55:03 +02:00
Andre Miras
0c4116c469 Starts unit testing buildozer/targets/android.py
This is a best effort approach trying to increase the coverage of that
module. Therefore some tests are not completely isolating all
dependencies via `mock.patch`-ing.
Subsequent pull request could cover more methods and focus on edge case.
This increases the overall coverage from 20% to 25% and
`buildozer/targets/android.py` coverage from 15% to `24%`.
2020-04-10 21:12:52 +02:00
Andre Miras
7daf3d028c
Merge pull request #1062 from AndreMiras/feature/coveralls_on_push_to_master
Coveralls TOKEN is only available on branch master
2020-04-10 21:12:19 +02:00
Andre Miras
090cb5b36e Coveralls TOKEN is only available on branch master
Refs: https://github.com/kivy/buildozer/pull/1060#issuecomment-612168204
2020-04-10 21:00:58 +02:00
Andre Miras
21d4157573
Merge pull request #1060 from kivy/feature/coverage_testing
Setup coverage testing, closes #1058
2020-04-10 16:31:18 +02:00
Andre Miras
a155929bdc Setup coverage testing, closes #1058
Also enables report to coveralls.io via GitHub Action.
Note the `COVERALLS_REPO_TOKEN` was setup via:
https://github.com/kivy/buildozer/settings/secrets
And is accessible for repos admin via:
https://coveralls.io/github/kivy/buildozer
2020-04-10 15:10:40 +02:00
Andre Miras
916dc6ba2a
Merge pull request #1053 from Sirfanas/fix-venv-python3
[Python3] #1052 ImportError: cannot import name 'main'
2020-04-08 21:15:13 +02:00
Romain Fauquet
05f0024b26
Put change in a single line
Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-08 20:58:00 +02:00
Romain Fauquet
c7d0a5a7c3
Change "python3 -m pip" to "pip3" 2020-04-08 20:40:38 +02:00
Sirfanas
c9004f1d77 Fix virtual env for python 3 2020-04-08 17:59:29 +02:00
Andre Miras
cceab3c2ce
Merge pull request #1041 from AndreMiras/feature/default_ndk_to_19b
Updates default buildozer.spec NDK from 17c to 19b
2020-03-28 17:26:13 +01:00
Andre Miras
439a3619e4 Updates default buildozer.spec NDK from 17c to 19b
Note that this is only the template spec file and
`DEFAULT_ANDROID_NDK_VERSION` fallback is left untouched.
2020-03-28 17:00:50 +01:00
Andre Miras
a294071a60
Merge pull request #1026 from touilleMan/fix-default.spec-typo
Fix "android.add_activites" typo in default.spec
2020-02-18 15:54:53 +01:00
Emmanuel Leblond
4165a38897
Fix config typo in default.spec 2020-02-18 15:33:08 +01:00
Andre Miras
d97d60f67c
Merge pull request #1025 from SomberNight/20200213_gradle_fix_apk_name
android gradle build: fix apk name
2020-02-13 16:38:16 +01:00
SomberNight
7578fea609
android gradle build: fix apk name 2020-02-13 01:36:04 +01:00
Mathieu Virbel
e5cc1855da fix syntax error due to the versionning script 2019-12-22 20:12:37 +01:00
Mathieu Virbel
b40bd68d6e Merge branch 'master' of ssh://github.com/kivy/buildozer 2019-12-22 19:38:38 +01:00
Mathieu Virbel
384cea43a1 bump to better version for dev: 1.0.1-dev0 2019-12-22 19:38:05 +01:00
Mathieu Virbel
1b2e981892
Update README.md 2019-12-22 19:36:00 +01:00
Mathieu Virbel
664faa7583 remove README.rst 2019-12-22 19:33:01 +01:00
Mathieu Virbel
636bc2fe15 Merge branch 'master' of ssh://github.com/kivy/buildozer 2019-12-22 19:29:20 +01:00
Mathieu Virbel
8c88e3cc7d remove crystax from documentation 2019-12-22 19:29:12 +01:00
Mathieu Virbel
5351e7d041 update CHANGELOG 2019-12-22 19:28:27 +01:00
Mathieu Virbel
8fa06fe3d9 Bump to 1.1.dev0 2019-12-22 19:25:24 +01:00
Mathieu Virbel
5f67c04b69 Bump to 1.0 2019-12-22 19:25:16 +01:00
Mathieu Virbel
69d418491f remove 2.7 support 2019-12-22 19:21:28 +01:00
Mathieu Virbel
526607e17d fix docker build 2019-12-22 19:21:28 +01:00
Mathieu Virbel
b4fd5d933b Remove travis.yml 2019-12-22 19:21:28 +01:00
Mathieu Virbel
a3ae25fa00 Introduce github actions 2019-12-22 19:21:28 +01:00
Mathieu Virbel
4799f7d931 Merge branch 'master' of ssh://github.com/kivy/buildozer 2019-12-22 19:01:51 +01:00
Mathieu Virbel
c70fb74366 Merge branch 'autosportlabs-master' 2019-12-22 19:01:38 +01:00