Skip to content

Commit

Permalink
test_ci: fetch all git histories
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed May 9, 2024
1 parent 7e73d7e commit 119cb69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ jobs:
steps:
- name: Checkout commit
uses: actions/checkout@v3
# sonarcloud needs full git histories
with:
fetch-depth: 0
- name: Build ota-test_base docker image
run: |
docker compose -f docker/docker-compose_tests.yml build
- name: Execute pytest with coverage trace under ota-test_base container
run: |
set -o pipefail
mkdir -p test_result
docker compose -f docker/docker-compose_tests.yml up --abort-on-container-exit
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
continue-on-error: true
Expand Down

0 comments on commit 119cb69

Please sign in to comment.