diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e1ab354f5..33ef1b3b3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -42,7 +42,7 @@ jobs: if: always() run: | pwd - pytest src/ --alluredir=allure-results + pytest --alluredir=allure-results # - name: Analysing the code with pylint # run: | # pylint `ls -R|grep .py$|xargs` @@ -276,6 +276,7 @@ jobs: # - name: Run dotnet format # uses: xt0rted/dotnet-format@v1 # with: + # version: 5 # repo-token: ${{ secrets.GITHUB_TOKEN }} dotnet: runs-on: ubuntu-latest @@ -283,26 +284,26 @@ jobs: - build # - dotnet-format steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/allure-prep - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 7.0.x - - name: Restore dependencies - run: dotnet restore - - name: Install dotnet-format - run: | - dotnet tool uninstall dotnet-format - dotnet tool install dotnet-format --version "7.*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json - # - name: Restore dotnet tools - # run: dotnet tool restore - - name: Check formatting - run: dotnet format --verify-no-changes -v d - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal + - uses: actions/checkout@v3 + - uses: ./.github/actions/allure-prep + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0.x + - name: Restore dependencies + run: dotnet restore + - name: Install dotnet-format + run: | + dotnet tool uninstall dotnet-format + dotnet tool install dotnet-format --version "7.*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json + # - name: Restore dotnet tools + # run: dotnet tool restore + - name: Check formatting + run: dotnet format --verify-no-changes -v d + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal - name: Look at Allure if: always()