unit tests: PR #118 "TNZ-97934: Redact api_password and TLS private key from JSON-serialized config" #102
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Automated PR unit tests | |
| run-name: 'unit tests: PR #${{ github.event.number }} "${{ github.event.pull_request.title }}"' | |
| on: | |
| pull_request | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| pxc-unit-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Retrieve code | |
| uses: actions/checkout@v5 | |
| - name: Set up go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 'stable' | |
| cache-dependency-path: "**/*.sum" | |
| - name: Set up ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.3' | |
| bundler-cache: true | |
| - name: Display runtime versions | |
| run: | | |
| echo "=== Runtime Environment ===" | |
| echo "Go: $(go version)" | |
| echo "Ruby: $(ruby --version)" | |
| echo "Bundler: $(bundler --version)" | |
| echo "==========================" | |
| - name: Run test suite | |
| run: scripts/test-unit |