Skip to content

Commit

Permalink
Add integration test for issue #83
Browse files Browse the repository at this point in the history
Adds a new github action test
to validate the issue reported in
#83
  • Loading branch information
tinder-maxwellelliott committed Aug 2, 2021
1 parent 9027861 commit 6890f15
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/integration_external_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 */12 * * *"

jobs:
build:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/integration_gazelle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Integration External Target

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 1.8
id: java
- uses: actions/checkout@v2
with:
repository: mikberg/bazel-diff-problem
ref: master
fetch-depth: 0
- name: Run External Target Impact test
run: ./bazel-diff.sh $(pwd) bazel $(git rev-parse HEAD~1) $(git rev-parse HEAD)
- name: Validate Impacted Targets
run: "[ -s /tmp/impacted_targets.txt ] && exit 1 || exit 0"

0 comments on commit 6890f15

Please sign in to comment.