Encryption sanity checks #1809
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Test (PostgreSQL ${{ matrix.pg_version }}) | |
| runs-on: blacksmith-16vcpu-ubuntu-2204 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| pg_version: [14, 15, 16, 17] # PG 18 not currently supported | |
| env: | |
| PG_VERSION: ${{ matrix.pg_version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-test | |
| - run: | | |
| mise run postgres:up --extra-args "--detach --wait" | |
| - env: | |
| # REMEMBER TO ADD ENVIRONMENT VARIABLES TO tests/docker-compose.yml | |
| # The tests/docker-compose.yml config passes the ENV vars into the container | |
| CS_CLIENT_ACCESS_KEY: ${{ secrets.CS_CLIENT_ACCESS_KEY }} | |
| CS_DEFAULT_KEYSET_ID: ${{ secrets.CS_DEFAULT_KEYSET_ID }} | |
| CS_TENANT_KEYSET_ID_1: ${{ secrets.CS_TENANT_KEYSET_ID_1 }} | |
| CS_TENANT_KEYSET_ID_2: ${{ secrets.CS_TENANT_KEYSET_ID_2 }} | |
| CS_TENANT_KEYSET_ID_3: ${{ secrets.CS_TENANT_KEYSET_ID_3 }} | |
| CS_TENANT_KEYSET_NAME_1: ${{ secrets.CS_TENANT_KEYSET_NAME_1 }} | |
| CS_TENANT_KEYSET_NAME_2: ${{ secrets.CS_TENANT_KEYSET_NAME_2 }} | |
| CS_TENANT_KEYSET_NAME_3: ${{ secrets.CS_TENANT_KEYSET_NAME_3 }} | |
| CS_CLIENT_ID: ${{ secrets.CS_CLIENT_ID }} | |
| CS_CLIENT_KEY: ${{ secrets.CS_CLIENT_KEY }} | |
| CS_WORKSPACE_CRN: ${{ secrets.CS_WORKSPACE_CRN }} | |
| RUST_BACKTRACE: "1" | |
| run: | | |
| mise run --output prefix test | |
| - uses: ./.github/actions/send-slack-notification | |
| with: | |
| channel: engineering | |
| webhook_url: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK_URL }} | |