Kaynağa Gözat

Add PSIPHON_RUN_PROTOBUF_LOGGING_TEST test case

Rod Hynes 5 ay önce
ebeveyn
işleme
1c6e4a1858
1 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. 7 1
      .github/workflows/tests.yml

+ 7 - 1
.github/workflows/tests.yml

@@ -16,7 +16,7 @@ jobs:
       matrix:
         os: [ "ubuntu" ]
         go: [ "1.24.8" ]
-        test-type: [ "detector", "coverage", "memory", "custom-build-tags", "code-vetting", "dependency-check" ]
+        test-type: [ "detector", "coverage", "protobuf", "memory", "custom-build-tags", "code-vetting", "dependency-check" ]
 
     runs-on: ${{ matrix.os }}-latest
 
@@ -138,6 +138,12 @@ jobs:
           $GOPATH/bin/gover
           $GOPATH/bin/goveralls -coverprofile=gover.coverprofile -service=github -repotoken "$COVERALLS_TOKEN"
 
+      - name: Run server test with protobuf logging
+        if: ${{ matrix.test-type == 'protobuf' }}
+        run: |
+          cd ${{ github.workspace }}/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core
+          sudo -E env "PATH=$PATH" go test -v -timeout 30m -race -tags "PSIPHON_RUN_PROTOBUF_LOGGING_TEST PSIPHON_ENABLE_INPROXY PSIPHON_RUN_PACKET_MANIPULATOR_TEST" ./psiphon/server
+
       - name: Run memory tests
         if: ${{ matrix.test-type == 'memory' }}
         run: |