Skip to content

Commit

Permalink
Per-commit CI should start from oldest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Dec 7, 2023
1 parent 1fec6f5 commit 7af6993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: sudo xargs apt-get install -y < .github/workflows/apt-packages.txt

- run: |
for commit in $(git rev-list origin/master..HEAD); do
for commit in $(git rev-list origin/master..HEAD | tac); do
git checkout $commit
echo "Checking commit $commit"
ci-tests/build-spike
Expand All @@ -49,7 +49,7 @@ jobs:
run: xargs brew install --overwrite < .github/workflows/brew-packages.txt

- run: |
for commit in $(git rev-list origin/master..HEAD); do
for commit in $(git rev-list origin/master..HEAD | xargs tail -r); do
git checkout $commit
echo "Checking commit $commit"
ci-tests/build-spike
Expand Down

0 comments on commit 7af6993

Please sign in to comment.