Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Michael Droettboom f5d6d5a0e9
Add support for Python code coverage (#494) 2019-11-20 13:16:13 -05:00
Michael Droettboom 5ec5b8e956
1595486: Make app_id and app_version required (#469)
* 1595486: Make app_id and app_version required

* glean-python -> glean-python-test
2019-11-13 11:21:40 -05:00
Jan-Erik Rediger 0711d83be3 Run iOS UI tests on CI 2019-11-06 09:14:52 +01:00
Michael Droettboom ddc0ada0e3
Implement counter metric type for Python bindings. (#439)
* Implement counter metric type for Python bindings.

It's pretty helpful to have type annotations for the documentation, if nothing
else, so additionally, this adds support for mypy type annotations.

* Simplify CircleCI task name

* Add a bug number
2019-11-05 11:05:06 -05:00
Michael Droettboom cf7ede1a94
WIP: 1591185: Set up basic Python project structure (#423)
* 1591185: Set up basic Python project structure

* Fix typo

* Clarify

* Correct emails

* Add docstrings

* Don't raise exception on no handle

* Handle shared objects on multiple platforms

* Improve docstring

* Fix __version__

* Attempt to fix on Windows
2019-11-04 13:18:03 -05:00
Jan-Erik Rediger f7ff2ff47f Run tests before collecting code coverage information in make command 2019-10-28 13:54:02 +01:00
Michael Droettboom e58e1cb0ec Add yamllint to CI 2019-10-28 11:18:55 +01:00
Jan-Erik Rediger 3d0fa298e9 By default make `make` print helpful output
This will list all documented make commands.
Inspired by https://jakemccrary.com/blog/2018/12/27/a-more-helpful-makefile/

[doc only]
2019-10-17 13:45:14 +02:00
Jan-Erik Rediger 61cab7f2fc Clean up makefile and separate into logical categories
[doc only]
2019-10-07 14:55:21 +02:00
Jan-Erik Rediger dc073b797f Wrap it in a make command
It's macOS only, so we can't really include it in the normal `docs`
target.

[doc only]
2019-09-30 10:17:45 +02:00
Jan-Erik Rediger b6c9cacdd1 Place header file in the ffi directory directly 2019-09-13 11:37:08 +02:00
Jan-Erik Rediger fd7375c535 Extend make command to create Glean FFI header for Swift API 2019-09-13 10:24:01 +02:00
Jan-Erik Rediger 3748812e11 Run tests as a make task 2019-09-11 17:04:52 +02:00
Jan-Erik Rediger d2c1c2b3ef Extend makefile to easily run linter/formatter for swift code
We don't add it to the general tasks, because Swift is not available on
e.g. Windows.

[doc only]
2019-09-11 11:28:56 +02:00
Jan-Erik Rediger e5cb94d8e1 Add make command to generate coverage report locally 2019-08-09 09:34:41 +02:00
Jan-Erik Rediger 0f6232f543 Expand macros before generating the header
BREAKING CHANGE: This requires nightly for cbindgen
2019-07-19 15:10:02 +02:00
Jan-Erik Rediger 9d7b505263 Define the rust test as a phony target 2019-06-05 17:02:02 +02:00
Jan-Erik Rediger 7a15f771b3 Add convenience task to run (single-threaded) rust tests with logs 2019-06-05 15:50:44 +02:00
Michael Droettboom 25b97d6ccf
1555975: Move markdown docs from glean-ac to glean-core (#113)
* 1555975: Move markdown docs from glean-ac to glean-core

* Don't use makefile for linkcheck

* Address comments in the PR

* Use semantic line endings

* More private functions

* Fix a couple more links
2019-06-05 08:02:12 -04:00
Jan-Erik Rediger fae6d3b1f5 Split linting into multiple tasks
This allows to only run clippy, which is much faster than its Kotlin
counterpart.
2019-05-23 17:11:30 +02:00
Michael Droettboom 3f2e8f6427 Fix clippy issues 2019-05-20 10:17:24 -04:00
Jan-Erik Rediger 634f447dfb Multi-threaded tests locally 2019-05-16 15:06:34 +02:00
Jan-Erik Rediger dd5e947c4a Make lint depend on properly formatted Rust code 2019-05-16 14:05:33 +02:00
Jan-Erik Rediger f65a1b796d Don't try to guess ANDROID_HOME
It was only ever correct for default installs on macOS anyway.
2019-05-16 14:05:10 +02:00
Jan-Erik Rediger 68f04469e2 (cbindgen) Make it easy to re-build C header 2019-05-14 17:55:44 +02:00
Michael Droettboom d0c6572391
1551258: Fix Kotlin linting and enable on CI (#59) 2019-05-14 10:54:33 -04:00
Michael Droettboom 66e39a524a
Add simple Kotlin test (#17)
* Add simple Kotlin test

* Use android docker

* Change robolectric version

* Fix syntax

* Fix android docker name

* Fix docker tag

* Disable android testing on Circle

* Update .circleci/config.yml

Co-Authored-By: Jan-Erik Rediger <badboy@archlinux.us>
2019-05-09 07:15:16 -04:00
Jan-Erik Rediger 748894e2fc The home path should include the sdk subdir 2019-05-08 14:06:54 +02:00
Jan-Erik Rediger 115c5d5fea Set correct dependency on rust lib 2019-05-06 16:19:14 +02:00
Jan-Erik Rediger 7efed3ebac Simple Makefile to invoke important tasks 2019-04-30 14:47:31 +02:00