Skip to content

Commit

Permalink
Increase clone depth in CI builds (ros#30032)
Browse files Browse the repository at this point in the history
This is a workaround for ros#29964
  • Loading branch information
cottsay authored Jun 30, 2021
1 parent e0097be commit bdf1c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
fetch-depth: 5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Fetch upstream (to enable diff)
run: |
git remote add unittest_upstream_comparision https://github.com/ros/rosdistro.git || git remote set-url unittest_upstream_comparision https://github.com/ros/rosdistro.git
git fetch --no-tags --depth=1 unittest_upstream_comparision master
git fetch --no-tags --depth=1 origin $GITHUB_BASE_REF
git fetch --no-tags --depth=5 unittest_upstream_comparision master
git fetch --no-tags --depth=5 origin $GITHUB_BASE_REF
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down

0 comments on commit bdf1c62

Please sign in to comment.