forked from jonhoo/faktory-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
38 lines (37 loc) · 909 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
jobs:
- template: default.yml@templates
parameters:
minrust: 1.51
- job: integration
displayName: cargo test (real)
pool:
vmImage: ubuntu-latest
services:
faktory: faktory
steps:
- template: install-rust.yml@templates
- script: cargo test --tests
displayName: cargo test
env: # set this explicitly so integration tests will run
FAKTORY_URL: tcp://127.0.0.1:7419
- template: coverage.yml@templates
parameters:
token: $(CODECOV_TOKEN_SECRET)
nightly: true
services:
faktory: faktory
env:
FAKTORY_URL: tcp://faktory:7419
resources:
repositories:
- repository: templates
type: github
name: crate-ci/azure-pipelines
ref: refs/heads/v0.4
endpoint: jonhoo
containers:
- container: faktory
image: contribsys/faktory:latest
ports:
- 7419:7419
- 7420:7420