Skip to content

Update docker-compose.yml #164

Update docker-compose.yml

Update docker-compose.yml #164

Workflow file for this run

name: Build And Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
buildAndTest:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Install dependencies
run: dotnet restore
- name: Initialize Testing Stack
run: docker-compose up -d
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore