Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 2 additions & 5 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ stages:
script: >
dotnet test
--configuration $(BuildConfiguration)
-- --filter-query "/[Category=UnitTests]"
-- --filter-query "/[(Category=UnitTests)]"
env:
AllowedOrigins__0: "5207"
Features__IsScalarEnabled: true
Expand Down Expand Up @@ -107,10 +107,7 @@ stages:
inputs:
command: "test"
projects: "$(TestProjects)"
arguments: |
--configuration $(BuildConfiguration)
--report-xunit-trx --coverage --coverage-output-format cobertura
-- --filter-query "/[(Category=UnitTests)|(Mode=Readonly)]"
arguments: '--configuration $(BuildConfiguration) --report-xunit-trx --coverage --coverage-output-format cobertura -- --filter-query "/[(Category=UnitTests)|(Mode=Readonly)]"'
env:
AllowedOrigins__0: "5207"
Features__IsScalarEnabled: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:

markup-lint:
name: Markup
uses: devpro/github-workflow-parts/.github/workflows/reusable-markup-lint.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96
uses: devpro/github-workflow-parts/.github/workflows/reusable-markup-lint.yml@c90ba46a93ca90123f57744b47e49c1a73962cea

code-quality:
name: Code
needs: git-check
if: needs.git-check.outputs.app_changed == 'true' || (github.event_name == 'workflow_dispatch' && inputs.run-code-quality)
uses: devpro/github-workflow-parts/.github/workflows/reusable-dotnet-quality.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96
uses: devpro/github-workflow-parts/.github/workflows/reusable-dotnet-quality.yml@c90ba46a93ca90123f57744b47e49c1a73962cea
with:
custom-commands: |
./scripts/mongodb-install.sh
Expand All @@ -62,7 +62,7 @@ jobs:
sonar-organization: ${{ vars.SONAR_ORG }}
sonar-project-key: ${{ vars.SONAR_PROJECT_KEY }}
sonar-project-name: Keeptrack
workflow-parts-version: 5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96
workflow-parts-version: c90ba46a93ca90123f57744b47e49c1a73962cea
secrets:
fossa-api-key: ${{ secrets.FOSSA_API_KEY }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: "Web Api"
image-name: "keeptrack-webapi"
image-definition: "src/WebApi/Dockerfile"
uses: devpro/github-workflow-parts/.github/workflows/reusable-container-scan.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96
uses: devpro/github-workflow-parts/.github/workflows/reusable-container-scan.yml@c90ba46a93ca90123f57744b47e49c1a73962cea
with:
image-definition: ${{ matrix.image-definition }}
image-name: ${{ matrix.image-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
permissions:
id-token: write
contents: read
uses: devpro/github-workflow-parts/.github/workflows/reusable-container-publication.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96
uses: devpro/github-workflow-parts/.github/workflows/reusable-container-publication.yml@c90ba46a93ca90123f57744b47e49c1a73962cea
with:
create-latest: ${{ github.ref_name == 'main' }}
image-definition: ${{ matrix.image-definition }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-git-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
echo "No relevant changes"
echo "app_changed=false" >> $GITHUB_OUTPUT
else
echo "Changes detected in src/test"
echo "Changes detected in $APP_FOLDERS"
git diff --name-status "$BEFORE" ${{ github.sha }} -- $APP_FOLDERS
echo "app_changed=true" >> $GITHUB_OUTPUT
fi
Expand All @@ -87,4 +87,4 @@ jobs:
echo "Major.Minor: $MAJOR_MINOR"
echo "version_major_minor=$MAJOR_MINOR" >> "$GITHUB_OUTPUT"
env:
APP_FOLDERS: ${{ inputs.app_folders }}
APP_FOLDERS: ${{ inputs.app-folders }}
2 changes: 1 addition & 1 deletion .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rules:
document-start: disable
line-length:
level: warning
max: 170
max: 200
truthy: disable
brackets:
max-spaces-inside: 1
Loading