diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e0467b3..4dcc5cc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: go-version: '1.20' - name: Run tests - run: go test -v ./... + run: go test -v -skip TestPyPIArtifactsLive ./... build-verify: runs-on: ubuntu-latest diff --git a/pkg/feeds/pypi/pypi_artifacts_test.go b/pkg/feeds/pypi/pypi_artifacts_test.go index 826410d7..622bad76 100644 --- a/pkg/feeds/pypi/pypi_artifacts_test.go +++ b/pkg/feeds/pypi/pypi_artifacts_test.go @@ -405,7 +405,7 @@ func TestPyPIArtifactsLive(t *testing.T) { cutoff := time.Now().AddDate(0, 0, -1) pkgs, gotCutoff, errs := feed.Latest(cutoff) if len(errs) != 0 { - t.Fatalf("feed.Latest returned error: %v", err) + t.Fatalf("feed.Latest returned error: %v", errs) } if cutoff == gotCutoff {