Skip to content

Commit

Permalink
fix: correct the path to testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
iomz committed Oct 26, 2024
1 parent 523e5f4 commit 1f6ac16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
go-version: "1.23"
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
test/*
*.csv
*.json
coverage.txt

# exp dir
exp/
Expand Down
2 changes: 1 addition & 1 deletion filtering/subscriptions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func TestLoadSubscriptionsFromCSVFile(t *testing.T) {
}{
{
"ecspec_sample.csv",
args{"ecspec_sample.csv"},
args{"../testdata/ecspec_sample.csv"},
Subscriptions{
"http://localhost:8888/grai": []string{"urn:epc:pat:grai-96:3.123456.1.1"},
"http://localhost:8888/17365": []string{"urn:epc:pat:iso17365:25S.UN.ABC.0THANK0YOU0FOR0READING0THIS1"},
Expand Down

0 comments on commit 1f6ac16

Please sign in to comment.