mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
add .taskcluster.yml
This commit is contained in:
parent
d0744d5178
commit
63d5f78cb8
1 changed files with 28 additions and 0 deletions
28
.taskcluster.yml
Normal file
28
.taskcluster.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
version: 0
|
||||
tasks:
|
||||
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
|
||||
workerType: '{{ taskcluster.docker.workerType }}'
|
||||
extra:
|
||||
github:
|
||||
events:
|
||||
- pull_request.opened
|
||||
- pull_request.reopened
|
||||
- pull_request.synchronize
|
||||
payload:
|
||||
maxRunTime: 3600
|
||||
image: 'rust:latest'
|
||||
command:
|
||||
- /bin/bash
|
||||
- '-c'
|
||||
- >-
|
||||
git clone {{event.head.repo.url}} repo &&
|
||||
cd repo &&
|
||||
git config advice.detachedHead false &&
|
||||
git checkout {{event.head.sha}} &&
|
||||
cargo test
|
||||
metadata:
|
||||
name: Test
|
||||
description: 'Run tests'
|
||||
owner: '{{ event.head.user.email }}'
|
||||
source: '{{ event.head.repo.url }}'
|
||||
allowPullRequests: collaborators
|
Loading…
Add table
Add a link
Reference in a new issue