Deleted unused method related to wwwroot #981
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test | |
on: | |
push: | |
jobs: | |
build: | |
name: Integration Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
services: | |
mysql: | |
image: mysql:8.0 | |
env: | |
MYSQL_ROOT_PASSWORD: ${{ secrets.IntegrationTestPassword }} | |
MYSQL_DATABASE: 'giraf' | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up API | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.0.100-rc.1.23463.5' | |
- name: Run API | |
# secrets are located in repo aau-giraf/web-api:settings.secrets | |
# "nohup" is used to run the dotnet application in the background | |
run: | | |
export ASPNETCORE_ENVIRONMENT="Development" | |
bash scripts/ci-setup.sh ${{ secrets.IntegrationTestUser }} ${{ secrets.IntegrationTestPassword }} | |
dotnet tool install --global dotnet-ef | |
cd GirafRest | |
dotnet restore | |
dotnet-ef database update | |
nohup dotnet run --sample-data > /dev/null 2>&1 & | |
- name: Tests | |
run: dotnet test ./GirafRest.IntegrationTest/ |