mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 06:08:23 +08:00
* Skip building webassets in CI Building webassets is not always needed and many of our CI build just builds them and ends up not using them after. This PR skips building the webassets for all pipelines where they are not needed. This should save us some time and $$. * Make some changes to trigger CI * Create the missing directory
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
name: Integration Tests (Root)
|
|
run-name: Integration Tests (Root) - ${{ github.run_id }} - @${{ github.actor }}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- '**.go'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- 'build.assets/Makefile'
|
|
- 'build.assets/Dockerfile*'
|
|
merge_group:
|
|
paths:
|
|
- '**.go'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- 'build.assets/Makefile'
|
|
- 'build.assets/Dockerfile*'
|
|
|
|
jobs:
|
|
test:
|
|
name: Integration Tests (Root)
|
|
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
|
|
env:
|
|
WEBASSETS_SKIP_BUILD: 1
|
|
|
|
steps:
|
|
- name: Checkout Teleport
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Prepare workspace
|
|
uses: ./.github/actions/prepare-workspace
|
|
|
|
- name: Run tests
|
|
timeout-minutes: 40
|
|
run: |
|
|
make rdpclient integration-root
|