Skip to content

Commit

Permalink
Updated path to example-e2e-tests.json file relative to root working …
Browse files Browse the repository at this point in the history
…directory

Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Jan 14, 2025
1 parent 5fd376d commit ae1f250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/example-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
# Find all .csproj files in the ./examples directory
all_projects=$(find ./examples -name '*.csproj' -exec basename {} \; | sed 's/.csproj//')
# Get the list of projects from example-e2e-tests.json
tested_projects=$(jq -r '.projects[].project' example-e2e-tests.json | sed 's/.csproj//')
tested_projects=$(jq -r '.projects[].project' ./.github/workflows/example-e2e-tests.json | sed 's/.csproj//')
# Compare the lists and find projects without tests
for project in $all_projects; do
if ! echo "$tested_projects" | grep -q "$project"; then
Expand All @@ -140,7 +140,7 @@ jobs:
- name: Build & test projects
# disable deterministic builds, just for test run. Deterministic builds break coverage for some reason
run: |
projects=$(jq -c '.projects[]' example-e2e-tests.json)
projects=$(jq -c '.projects[]' ./.github/workflows/example-e2e-tests.json)
for project in $projects; do
project_name=$(echo $project | jq -r '.project')
Expand Down

0 comments on commit ae1f250

Please sign in to comment.