Skip to content

AT-2958: Add encrypt manager #396

AT-2958: Add encrypt manager

AT-2958: Add encrypt manager #396

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch: # on demand (sometimes we want to test the pipeline before opening the pr)
jobs:
unittests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
cache: true
cache-dependency-path: go.sum
go-version-file: go.mod
- name: Execute unit tests
run: make test
- name: Upload unit test coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: cov-unit-tests.txt
flags: unit-tests
name: Unit Tests
token: ${{ secrets.CODECOV_TOKEN }}
postgres-test:
name: Execute postgres tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
cache: true
cache-dependency-path: go.sum
go-version-file: go.mod
- name: Execute Postgres tests
run: make test-postgres
- name: Upload Postgres test coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: cov-pg-tests.txt
flags: postgres-tests
name: Postgres Tests
token: ${{ secrets.CODECOV_TOKEN }}