Skip to content

Commit

Permalink
attempted fix of diagnostics test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnitschke-wk committed Jan 21, 2024
1 parent 8d1a2d3 commit 11b30b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 59 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install scip cli
run: |
bash -c 'curl -L "https://github.com/sourcegraph/scip/releases/download/v0.3.0/scip-linux-amd64.tar.gz"' | tar xzf - scip
./scip --version
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6
Expand All @@ -62,12 +58,18 @@ jobs:
run: dart pub get
working-directory: ./snapshots/input/diagnostics

- name: Install scip cli
run: |
bash -c 'curl -L "https://github.com/sourcegraph/scip/releases/download/v0.3.0/scip-linux-amd64.tar.gz"' | tar xzf - scip
./scip --version
- name: Install JQ
run: sudo apt-get install jq

- name: Snapshots Diff Check
run: |
make gen-snap_diagnostics
dart run scip_dart ./snapshots/input/diagnostics
./scip print --json ./index.scip | jq '.documents[].occurrences[] | select(.diagnostics)' | jq -s . > ./snapshots/output/diagnostics/output.json
if [[ -z "$(git status --porcelain ./snapshots/output)" ]];
then
Expand Down
54 changes: 0 additions & 54 deletions snapshots/output/relationships-project/lib/main.dart

This file was deleted.

0 comments on commit 11b30b9

Please sign in to comment.