Skip to content

Commit

Permalink
redo how tests are ran
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny-Dasilva committed Oct 16, 2023
1 parent 4d8eddb commit ee64fc6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.17]
go-version: [1.16]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

Expand All @@ -33,12 +33,6 @@ jobs:
run: |
docker run -d -p 1087:1080 serjs/go-socks5-proxy
- name: Integration Tests (on ubuntu)
if: matrix.platform == 'ubuntu-latest'
working-directory: ./cycletls
run: go test --race -v -tags=integration ./...

- name: Integration Tests (exclude TestProxySuccess on non-ubuntu)
if: matrix.platform != 'ubuntu-latest'
- name: Integration Tests
working-directory: ./cycletls
run: go test --race -v -tags=integration -run '^(?!TestProxySuccess)' ./...
run: go test --race -v -tags=integration ./...

0 comments on commit ee64fc6

Please sign in to comment.