Skip to content

build(deps): bump MongoDB.Driver in /services/api/Tweek.ApiService #90

build(deps): bump MongoDB.Driver in /services/api/Tweek.ApiService

build(deps): bump MongoDB.Driver in /services/api/Tweek.ApiService #90

Workflow file for this run

name: Addons Tests
on:
push:
paths:
- 'addons/**'
- '.github/workflows/addons.yaml'
jobs:
run-context-tests:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:5.0
env:
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
REDIS_TEST_CONNECTION: "redis:6379"
MONGODB_TEST_CONNECTION: "mongodb://mongo:27017"
COUCHBASE_TEST_URL: "http://couchbase:8091"
services:
redis:
image: redis:alpine
couchbase:
image: couchbase:community-4.5.1
mongo:
image: mongo:3.6-jessie
steps:
- uses: actions/checkout@v2
- name: Test redis driver
working-directory: addons/Context/Tweek.Drivers.Context.Redis.IntegrationTests
run: |
dotnet test
- name: Test Couchbase driver
working-directory: addons/Context/Tweek.Drivers.Context.Couchbase.IntegrationTests
run: |
curl --retry 3 --retry-max-time 10 -v http://couchbase:8091/settings/web -d port=8091 -d username=Administrator -d password=password
curl --retry 3 --retry-max-time 10 -v -u Administrator:password -X POST http://couchbase:8091/pools/default/buckets -d authType=sasl -d name=testbucket -d ramQuotaMB=100 -d saslPassword=password
dotnet test
- name: Test Mongo driver
working-directory: addons/Context/Tweek.Drivers.Context.MongoDb.IntegrationTests
run: |
dotnet test