-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now can he write a test pipeline in just one commit?
- Loading branch information
Showing
5 changed files
with
73 additions
and
22 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
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,33 @@ | ||
# 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/. | ||
--- | ||
|
||
android-junit: | ||
worker-type: b-linux-large | ||
worker: | ||
docker-image: {in-tree: base} | ||
max-run-time: 3600 | ||
description: "Run JUnit tests" | ||
treeherder: | ||
symbol: T(JUnit) | ||
kind: test | ||
platform: android/arm64-v8a | ||
tier: 1 | ||
dependencies: | ||
build: build-android-arm64/debug | ||
fetches: | ||
toolchain: | ||
- conda-android-arm64-6.2.4 | ||
build: | ||
- artifact: android-build.tar.gz | ||
run: | ||
using: run-task | ||
use-caches: true | ||
cwd: '{checkout}' | ||
command: >- | ||
source $TASK_WORKDIR/fetches/bin/activate | ||
conda-unpack | ||
cd $TASK_WORKDIR/android-build | ||
ls | ||
./gradlew test |
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 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,26 @@ | ||
# 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/. | ||
--- | ||
|
||
taskgraph-definition: | ||
worker-type: b-linux | ||
worker: | ||
docker-image: {in-tree: base} | ||
max-run-time: 3600 | ||
description: "Test the full `mozilla_vpn_taskgraph` to validate the latest changes" | ||
treeherder: | ||
symbol: test-taskgraph-definition | ||
kind: test | ||
platform: tests/opt | ||
tier: 1 | ||
run: | ||
using: run-task | ||
use-caches: true | ||
cwd: '{checkout}' | ||
command: >- | ||
pip3 install -r taskcluster/requirements.txt && | ||
for param in `ls taskcluster/test/params`; do | ||
taskgraph full -p taskcluster/test/params/$param | ||
done && | ||
taskgraph full |
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