Skip to content

Commit

Permalink
limit the build scope when running integration tests to avoid buildin…
Browse files Browse the repository at this point in the history
…g fw lite desktop
  • Loading branch information
hahn-kev committed Jul 31, 2024
1 parent 39dd413 commit 49c6a12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ jobs:
run: |
sudo ln -s ${{ steps.python.outputs.python-path }} /usr/bin/python2
- name: Dotnet build
working-directory: backend/LexBoxApi
# limit cpu count for self-hosted due to memory constraints
run: dotnet build ${{ inputs.runs-on == 'self-hosted' && '-maxcpucount:2' || '' }}
- name: Build for tests
working-directory: backend/Testing
run: "dotnet build /p:MercurialVersion=$MERCURIAL_VERSION"
env:
MERCURIAL_VERSION: ${{ inputs.hg-version }}
Expand Down

0 comments on commit 49c6a12

Please sign in to comment.