Files
teleport/.github/workflows/unit-tests-operator.yaml
T
Hugo Shaka 9e1f53d33a Move operator into integrations/ (#22618)
* Move operator into `integrations/`

* fixup! Move operator into `integrations/`

* fixup! fixup! Move operator into `integrations/`

* fixup! fixup! fixup! Move operator into `integrations/`

* fixup! fixup! fixup! fixup! Move operator into `integrations/`
2023-03-06 17:59:02 +00:00

52 lines
1.1 KiB
YAML

name: Unit Tests (Operator)
run-name: Unit Tests (Operator) - ${{ github.run_id }} - @${{ github.actor }}
on:
push:
branches:
- master
pull_request:
paths:
- '/go.mod'
- '/go.sum'
- 'integrations/operator/**'
- 'api/types/**'
- 'gen/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
merge_group:
paths:
- '/go.mod'
- '/go.sum'
- 'integrations/operator/**'
- 'api/types/**'
- 'gen/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
jobs:
test:
name: Unit Tests (Operator)
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
runs-on: ubuntu-22.04-16core
permissions:
contents: read
container:
image: ghcr.io/gravitational/teleport-buildbox:teleport13
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout Teleport
uses: actions/checkout@v3
- name: Prepare workspace
uses: ./.github/actions/prepare-workspace
- name: Run tests
timeout-minutes: 40
run: make test-operator