chore(deps): bump Xunit.Runner.VisualStudio from 2.5.4 to 2.5.8 #324
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout the code | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
# setup dotnet based on global.json | |
- uses: actions/setup-dotnet@v3.0.2 | |
# run the CI build | |
- name: make ci | |
run: make ci | |
env: | |
AXONIQ_LICENSE: ${{ secrets.AXONIQ_LICENSE }} | |
SONAR_PROJECT_KEY: AxonIQ_axonserver-connector-dotnet | |
SONAR_ORGANIZATION: axoniq | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
SONAR_HOST_URL: https://sonarcloud.io | |
# run the CD build (on master only) | |
- name: make cd | |
if: github.ref == 'refs/heads/master' | |
run: make cd | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }} | |
SONAR_PROJECT_KEY: AxonIQ_axonserver-connector-dotnet | |
SONAR_ORGANIZATION: axoniq | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
SONAR_HOST_URL: https://sonarcloud.io | |
- name: publish test results | |
uses: EnricoMi/publish-unit-test-result-action/composite@v2 | |
if: always() | |
with: | |
files: | | |
test/AxonIQ.AxonServer.Connector.Tests/TestResults/*.trx | |
test/AxonIQ.AxonServerIntegrationTests/TestResults/*.trx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sequences | |
path: | | |
test/AxonIQ.AxonServer.Connector.Tests/TestResults/**/*.xml | |
test/AxonIQ.AxonServerIntegrationTests/TestResults/**/*.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: diagnostics | |
path: | | |
test/AxonIQ.AxonServer.Connector.Tests/TestResults/*_diagnostics.txt | |
test/AxonIQ.AxonServerIntegrationTests/TestResults/*_diagnostics.datacollector.*.txt | |
test/AxonIQ.AxonServerIntegrationTests/TestResults/*_diagnostics.host.*.txt | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master | |
with: | |
args: > | |
-Dsonar.organization=axoniq | |
-Dsonar.projectKey=AxonIQ_axonserver-connector-dotnet | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |