Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: added go integration test file
=9fcf72ebac90
diff --git a/.github/workflows/run-backend-go-tests.yml b/.github/workflows/run-backend-go-tests.ymlnew file mode 100644index 0000000000..4aaf53c55a--- /dev/null+++ b/.github/workflows/run-backend-go-tests.yml@@ -0,0 +1,79 @@+name: "Run Go backend tests"++on:+ pull_request:+ types: [opened, synchronize]+ paths:+ - "backend-go/**"+ - "!backend-go/README.md"+ - "!backend-go/.*"+ workflow_call:++jobs:+ lint:+ name: Lint+ runs-on: ubuntu-latest+ timeout-minutes: 10++ steps:+ - name: ☁️ Checkout source+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2++ - name: 🔧 Setup Go+ uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0+ with:+ go-version-file: backend-go/go.mod+ cache-dependency-path: backend-go/go.sum++ - name: Run golangci-lint+ uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0+ with:+ version: v2.1.6+ working-directory: backend-go+ args: --build-tags integration++ unit-tests:+ name: Unit tests+ runs-on: ubuntu-latest+ timeout-minutes: 15++ steps:+ - name: ☁️ Checkout source+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2++ - name: 🔧 Setup Go+ uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0+ with:+ go-version-file: backend-go/go.mod+ cache-dependency-path: backend-go/go.sum++ - name: Run unit tests+ run: make test-unit+ working-directory: backend-go++ integration-tests:+ name: Integration tests+ runs-on: ubuntu-latest+ timeout-minutes: 30++ steps:+ - name: Free up disk space+ run: |+ sudo rm -rf /usr/share/dotnet+ sudo rm -rf /opt/ghc+ sudo rm -rf "/usr/local/share/boost"+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"+ docker system prune -af++ - name: ☁️ Checkout source+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2++ - name: 🔧 Setup Go+ uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0+ with:+ go-version-file: backend-go/go.mod+ cache-dependency-path: backend-go/go.sum++ - name: Run integration tests+ run: make test-integration+ working-directory: backend-go