Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

---

version: 2.1

definitions:
Expand Down Expand Up @@ -51,9 +57,9 @@ commands:
- run:
name: Test glean-preview
command:
# Because glean_preview is a global-singleton, we need to run the tests
# single-threaded to avoid different tests stomping over each other.
cargo test -p glean-preview -- --test-threads=1
# Because glean_preview is a global-singleton, we need to run the tests
# single-threaded to avoid different tests stomping over each other.
cargo test -p glean-preview -- --test-threads=1

install-rustup:
steps:
Expand Down Expand Up @@ -834,7 +840,7 @@ workflows:
- Rust tests - stable
- Rust code coverage
# FIXME: Disabled due to failing to often, bug 1574424
#- Rust tests - beta
# - Rust tests - beta
- Rust tests - minimum version
- Android tests
- C tests
Expand Down
6 changes: 6 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: default

rules:
line-length:
ignore: |
.circleci/config.yml
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ swiftlint: ## Run swiftlint to lint Swift code
swiftlint --strict

yamllint: ## Run yamllint to lint YAML files
yamllint glean-core
yamllint glean-core .circleci

pythonlint: python-setup ## Run flake8 and black to lint Python code
$(GLEAN_PYENV)/bin/python3 -m flake8 glean-core/python/glean glean-core/python/tests
Expand Down