Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 'develop' to 'master' on 20.02.2024 5.31PM #1174

Merged
merged 76 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
973a78d
Add docker-compose.yml for IntegrationTests; update connection string…
IvannYad Jan 28, 2024
b9182f5
Add IntegrtionTestsDatabaseConfiguration class
IvannYad Jan 28, 2024
8e68585
Add nuke targets for setting up integration tests environment
IvannYad Jan 28, 2024
35d2db3
Exclude 'Migrations' and 'ScriptsMigration' folders from Sonar analysis
IvannYad Jan 28, 2024
4fc470a
Delete unused ApplyMigrationsForIntegrationTests target
IvannYad Jan 28, 2024
c33469d
Remove docker atom from SetupPublicBuild
IvannYad Jan 28, 2024
f3ec2e2
Update DatabaseBuild
IvannYad Jan 28, 2024
d546b72
Create sql script to apply existing migrations to database
IvannYad Jan 28, 2024
81601af
Update build.yml to include integration tests
IvannYad Jan 28, 2024
0c57aed
Update commands for running unit and integration tests
IvannYad Jan 29, 2024
358afe9
Write function to find root folder( folder that contains .gitignore f…
IvannYad Jan 29, 2024
8968792
Update paths in DatabaseBuild
IvannYad Jan 29, 2024
fcc5532
Exclude DbUpdate from sonar analysis
IvannYad Jan 29, 2024
0a32941
Add retry execution of flacky integration tests
IvannYad Jan 29, 2024
3aa18e6
Make command for executing unit tests correct
IvannYad Jan 29, 2024
7fcaac5
Add BaseExtracter and add Any() method to SqlDbHelper
IvannYad Jan 30, 2024
954a5ae
Add StreetcodeContentExtracter; add TestDataProvider
IvannYad Jan 30, 2024
37170fd
Add StreetcodeContentExtraction
IvannYad Jan 31, 2024
10dfef4
Add new testStreetcodeExtraction to PartnersControllerTests, Subtitle…
IvannYad Jan 31, 2024
e80a700
Add ImageExtracter, add PartnerExtracter
IvannYad Jan 31, 2024
c486775
Add SubtitleExtracter
IvannYad Jan 31, 2024
cfb19ab
Add TagExtracter
IvannYad Jan 31, 2024
aec056c
Add AudioExtracter
IvannYad Feb 1, 2024
04db7cc
Add ImageExtracter
IvannYad Feb 1, 2024
c0be82d
Add VideoExtracter
IvannYad Feb 1, 2024
d2383db
Add ArtExtracter
IvannYad Feb 1, 2024
32c44e1
Change test data extracting in StreetcodeArtControllerTests
IvannYad Feb 1, 2024
9ca625f
Change test StreetcodeContent extracting in StreetcodeCreateControlle…
IvannYad Feb 1, 2024
0715016
Update build.yml to exclude repetitive integration tests execution
IvannYad Feb 1, 2024
da5e9f8
Delete attributes that extract test entities
IvannYad Feb 1, 2024
716e321
Merge pull request #1143 from ita-social-projects/fix-flacky-integrat…
IvannYad Feb 1, 2024
c0e6402
Commit to run pr checks
IvannYad Feb 1, 2024
6cc4f92
Add docker-compose.yml for IntegrationTests; update connection string…
IvannYad Jan 28, 2024
d0ab9aa
Add IntegrtionTestsDatabaseConfiguration class
IvannYad Jan 28, 2024
3c45197
Add nuke targets for setting up integration tests environment
IvannYad Jan 28, 2024
e987000
Exclude 'Migrations' and 'ScriptsMigration' folders from Sonar analysis
IvannYad Jan 28, 2024
58a3daf
Delete unused ApplyMigrationsForIntegrationTests target
IvannYad Jan 28, 2024
628a6ad
Remove docker atom from SetupPublicBuild
IvannYad Jan 28, 2024
97eb7f6
Update DatabaseBuild
IvannYad Jan 28, 2024
6874afd
Create sql script to apply existing migrations to database
IvannYad Jan 28, 2024
611f1ce
Update build.yml to include integration tests
IvannYad Jan 28, 2024
675fbb2
Update commands for running unit and integration tests
IvannYad Jan 29, 2024
e9b4f18
Write function to find root folder( folder that contains .gitignore f…
IvannYad Jan 29, 2024
28b836e
Update paths in DatabaseBuild
IvannYad Jan 29, 2024
b5a58f0
Exclude DbUpdate from sonar analysis
IvannYad Jan 29, 2024
93ba56a
Add retry execution of flacky integration tests
IvannYad Jan 29, 2024
be7b6a1
Make command for executing unit tests correct
IvannYad Jan 29, 2024
cb4a9a7
Add BaseExtracter and add Any() method to SqlDbHelper
IvannYad Jan 30, 2024
67b8802
Add StreetcodeContentExtracter; add TestDataProvider
IvannYad Jan 30, 2024
55eb257
Add StreetcodeContentExtraction
IvannYad Jan 31, 2024
2b67eb0
Add new testStreetcodeExtraction to PartnersControllerTests, Subtitle…
IvannYad Jan 31, 2024
9c81159
Add ImageExtracter, add PartnerExtracter
IvannYad Jan 31, 2024
66fadd7
Add SubtitleExtracter
IvannYad Jan 31, 2024
46ee6df
Add TagExtracter
IvannYad Jan 31, 2024
dbec6af
Add AudioExtracter
IvannYad Feb 1, 2024
0adfe7d
Add ImageExtracter
IvannYad Feb 1, 2024
b95bb5e
Add VideoExtracter
IvannYad Feb 1, 2024
4ab6bf9
Add ArtExtracter
IvannYad Feb 1, 2024
50bc572
Change test data extracting in StreetcodeArtControllerTests
IvannYad Feb 1, 2024
3955294
Change test StreetcodeContent extracting in StreetcodeCreateControlle…
IvannYad Feb 1, 2024
6ba8c2c
Update build.yml to exclude repetitive integration tests execution
IvannYad Feb 1, 2024
34acbb3
Delete attributes that extract test entities
IvannYad Feb 1, 2024
af26ee1
Merge branch 'include-integration-tests-in-coverage' of https://githu…
IvannYad Feb 1, 2024
044bf11
Change extracting test StreetcodeUpdateDTO to one from custom extracter
IvannYad Feb 1, 2024
a7e763a
Update appsettings.IntegrationTests.json
IvannYad Feb 1, 2024
faa5cb6
Dalete script for retrying integration tests
IvannYad Feb 1, 2024
b723dd4
Merge pull request #1119 from ita-social-projects/include-integration…
IvannYad Feb 2, 2024
4997753
update dotnet version
BohdanBybliv Feb 14, 2024
6c70a79
add recaptcha and rate limit
BohdanBybliv Feb 14, 2024
d13e7c8
update email config
BohdanBybliv Feb 14, 2024
c6c60f1
delete passwords
BohdanBybliv Feb 19, 2024
c0aa4a6
fix code quality
BohdanBybliv Feb 19, 2024
bd26731
add test for sendemailhandler
BohdanBybliv Feb 20, 2024
3877b8b
add tests for Send Email Handler
BohdanBybliv Feb 20, 2024
e3c9119
fix sonarquality
BohdanBybliv Feb 20, 2024
8058f54
Merge pull request #1166 from ita-social-projects/rate-limit
IvannYad Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
sonarcloud_branch:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Install dotnet-coverage
run: dotnet tool install --global dotnet-coverage
Expand All @@ -39,13 +39,19 @@ jobs:
- name: Build
run: dotnet build ./Streetcode/Streetcode.sln --configuration Release --no-restore

- name: Test and Code Coverage
run: dotnet-coverage collect "dotnet test ./Streetcode/Streetcode.XUnitTest/Streetcode.XUnitTest.csproj --configuration Release --results-directory ./coverage --logger trx" -f xml -o coverage.xml
- name: Setup Environment For Integration Tests
run: ./Streetcode/build.sh SetupIntegrationTestsEnvironment

- name: Unit Tests
run: dotnet test ./Streetcode/Streetcode.XUnitTest/Streetcode.XUnitTest.csproj --configuration Release

- name: Integration Tests
run: dotnet test ./Streetcode/Streetcode.XIntegrationTest/Streetcode.XIntegrationTest.csproj --configuration Release

- name: SonarScanner Analysis
id: sonar
run: |
dotnet sonarscanner begin /k:"ita-social-projects_StreetCode" /o:"ita-social-projects" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths="**/coverage.xml"
dotnet build ./Streetcode/Streetcode.sln --configuration Release
dotnet test ./Streetcode/Streetcode.XUnitTest/Streetcode.XUnitTest.csproj --configuration Release --no-build --verbosity normal
dotnet-coverage collect "dotnet test ./Streetcode/Streetcode.sln --configuration Release" -f xml -o "coverage.xml"
dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
Loading
Loading