Skip to content

Commit

Permalink
esperimental fixes of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
apetrovskiy committed Nov 17, 2023
1 parent 22a7e9a commit 7d4c492
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -276,33 +276,34 @@ jobs:
# - name: Run dotnet format
# uses: xt0rted/dotnet-format@v1
# with:
# version: 5
# repo-token: ${{ secrets.GITHUB_TOKEN }}
dotnet:
runs-on: ubuntu-latest
needs:
- 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()
Expand Down

0 comments on commit 7d4c492

Please sign in to comment.