forked from gothinkster/realworld-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (32 loc) · 1.14 KB
/
ci-capella.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
39
40
41
name: Conduit Integration Tests (Couchbase Capella)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
Couchbase__ConnectionString: ${{ secrets.COUCHBASE__CONNECTIONSTRING }}
Couchbase__Username: ${{ secrets.COUCHBASE__USERNAME }}
Couchbase__Password: ${{ secrets.COUCHBASE__PASSWORD }}
Couchbase__BucketName: ${{ secrets.COUCHBASE__BUCKETNAME }}
Couchbase__ScopeName: ${{ secrets.COUCHBASE__SCOPENAME }}
Couchbase__ScanConsistency: ${{ secrets.COUCHBASE__SCANCONSISTENCY }}
JwtSecrets__Issuer: ${{ secrets.JWTSECRET__ISSUER }}
JwtSecrets__Audience: ${{ secrets.JWTSECRET__AUDIENCE }}
JwtSecrets__SecurityKey: ${{ secrets.JWTSECRET__SECURITYKEY }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore Conduit
- name: Build
run: dotnet build Conduit --no-restore
- name: Run tests
run: dotnet test Conduit --no-build --verbosity normal