Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Revert "Sync with upstream (#10)"
Browse files Browse the repository at this point in the history
This reverts commit 5ef31cf.
  • Loading branch information
amber-higgins authored Jan 27, 2025
1 parent 5ef31cf commit 5b07980
Show file tree
Hide file tree
Showing 637 changed files with 5,673 additions and 113,497 deletions.
38 changes: 11 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
on: [push, pull_request]
name: Test
# Workaround for coveralls error "Can't add a job to a build that is already closed"
# See https://github.com/lemurheavy/coveralls-public/issues/1716
env:
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
COVERALLS_PARALLEL: true
jobs:
test:
strategy:
matrix:
go-version: ['1.21', '1.22', '1.23']
go-version: ['1.19', '1.20']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Setup env
Expand All @@ -28,24 +23,13 @@ jobs:
go test -race -v -timeout 2m -failfast -covermode atomic -coverprofile=.covprofile ./... -tags=nointegration
# Run integration tests hermetically to avoid nondeterministic races on environment variables
go test -race -v -timeout 2m -failfast ./cmd/... -run TestSmokescreenIntegration
go test -race -v -timeout 2m -failfast ./cmd/... -run TestInvalidUpstreamProxyConfiguratedFromEnv
go test -race -v -timeout 2m -failfast ./cmd/... -run TestInvalidUpstreamProxyConfiguration
go test -race -v -timeout 2m -failfast ./cmd/... -run TestClientHalfCloseConnection
# - name: Install goveralls
# run: go install github.com/mattn/goveralls@latest
# - name: Send coverage
# env:
# COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: goveralls -coverprofile=.covprofile -service=github
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
# - name: Install goveralls
# run: go install github.com/mattn/goveralls@latest
# - name: Close goveralls parallel build
# env:
# COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: goveralls -coverprofile=.covprofile -service=github -parallel-finish=true
- name: Install goveralls
env:
GO111MODULE: off
run: go get github.com/mattn/goveralls
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=.covprofile -service=github
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
*.swp
*.swo
*.swn
*debug.test*
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

308 changes: 0 additions & 308 deletions Development.md

This file was deleted.

Loading

0 comments on commit 5b07980

Please sign in to comment.