Skip to content

Commit 4fb8f16

Browse files
committed
Rearrange tests
1 parent b0160d2 commit 4fb8f16

27 files changed

+736
-768
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2-
# More GitHub Actions for Azure: https://github.com/Azure/actions
3-
4-
name: Build and deploy dotnet core app to Azure Function App - oddscollector-functions
5-
6-
on:
7-
push:
8-
branches:
9-
- master
10-
workflow_dispatch:
11-
12-
env:
13-
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'OddsCollector.Functions' # set this to the path to your web app project, defaults to the repository root
14-
DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use
15-
16-
jobs:
17-
build-and-deploy:
18-
runs-on: windows-latest
19-
steps:
20-
- name: 'Checkout GitHub Action'
21-
uses: actions/checkout@v4
22-
23-
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
24-
uses: actions/setup-dotnet@v1
25-
with:
26-
dotnet-version: ${{ env.DOTNET_VERSION }}
27-
28-
- name: 'Resolve Project Dependencies Using Dotnet'
29-
shell: pwsh
30-
run: |
31-
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
32-
dotnet build --configuration Release --output ./output
33-
popd
34-
35-
- name: 'Run Azure Functions Action'
36-
uses: Azure/functions-action@v1
37-
id: fa
38-
with:
39-
app-name: 'oddscollector-functions'
40-
slot-name: 'Production'
41-
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
42-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_84942172C4BE4DDDBE1C48EFB32A2A9A }}
1+
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2+
# More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+
name: Build and deploy to Azure
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
workflow_dispatch:
11+
12+
env:
13+
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'OddsCollector.Functions' # set this to the path to your web app project, defaults to the repository root
14+
DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use
15+
16+
jobs:
17+
build-and-deploy:
18+
runs-on: windows-latest
19+
steps:
20+
- name: 'Checkout GitHub Action'
21+
uses: actions/checkout@v4
22+
23+
- name: Setup .NET
24+
uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: ${{ env.DOTNET_VERSION }}
27+
28+
- name: 'Resolve Project Dependencies Using Dotnet'
29+
shell: pwsh
30+
run: |
31+
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
32+
dotnet build --configuration Release --output ./output
33+
popd
34+
35+
- name: 'Run Azure Functions Action'
36+
uses: Azure/functions-action@v1
37+
id: fa
38+
with:
39+
app-name: 'oddscollector-functions'
40+
slot-name: 'Production'
41+
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
42+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_84942172C4BE4DDDBE1C48EFB32A2A9A }}

OddsCollector.Functions.Tests/Common/Models/EventPredictionBuilderExtensions.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

OddsCollector.Functions.Tests/Common/Models/OddsBuilderExtensions.cs

Lines changed: 0 additions & 48 deletions
This file was deleted.

OddsCollector.Functions.Tests/Common/Models/UpcomingEventBuilderExtensions.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.

OddsCollector.Functions.Tests/Common/OddsApi/WebApi/TestAnonymous2Builder.cs

Lines changed: 0 additions & 96 deletions
This file was deleted.

OddsCollector.Functions.Tests/Common/OddsApi/WebApi/TestAnonymous3Builder.cs

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)