Skip to content

Commit

Permalink
feat: modified dotnet.yml pipeline, added another .sln for tests, rem…
Browse files Browse the repository at this point in the history
…oved tests project from AdvancedBilling.sln (#5)
  • Loading branch information
Styx8888 authored Dec 21, 2023
1 parent 2838698 commit 0f9adad
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Restore dependencies on AdvancedBilling
run: dotnet restore AdvancedBilling.sln
- name: Build AdvancedBilling
run: dotnet build AdvancedBilling.sln --no-restore
- name: Restore dependencies on AdvancedBilling Tests
run: dotnet restore AdvancedBillingTests.sln
- run: export TEST_ACCESS_TOKEN=${{ env.TEST_ACCESS_TOKEN }}
- run: export TEST_USERNAME=${{ env.TEST_USERNAME }}
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test AdvancedBillingTests.sln --verbosity normal
6 changes: 0 additions & 6 deletions AdvancedBilling.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ VisualStudioVersion = 17.7.34202.233
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdvancedBilling.Standard", "AdvancedBilling.Standard\AdvancedBilling.Standard.csproj", "{733A0F1F-276B-4C3F-BAB7-E8BDAE46F8CD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdvancedBillingTests", "Tests\AdvancedBillingTests.csproj", "{B4DAB31D-94CC-484B-B08A-B01D64C3ED5F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -16,10 +14,6 @@ Global
{733A0F1F-276B-4C3F-BAB7-E8BDAE46F8CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{733A0F1F-276B-4C3F-BAB7-E8BDAE46F8CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{733A0F1F-276B-4C3F-BAB7-E8BDAE46F8CD}.Release|Any CPU.Build.0 = Release|Any CPU
{B4DAB31D-94CC-484B-B08A-B01D64C3ED5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B4DAB31D-94CC-484B-B08A-B01D64C3ED5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4DAB31D-94CC-484B-B08A-B01D64C3ED5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4DAB31D-94CC-484B-B08A-B01D64C3ED5F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
25 changes: 25 additions & 0 deletions AdvancedBillingTests.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34202.233
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdvancedBillingTests", "Tests\AdvancedBillingTests.csproj", "{977DE412-2DC7-4408-AF72-81AA7B85522F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{977DE412-2DC7-4408-AF72-81AA7B85522F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{977DE412-2DC7-4408-AF72-81AA7B85522F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{977DE412-2DC7-4408-AF72-81AA7B85522F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{977DE412-2DC7-4408-AF72-81AA7B85522F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {48AEAEB7-97B0-41F9-82E1-C595A25BD861}
EndGlobalSection
EndGlobal

0 comments on commit 0f9adad

Please sign in to comment.