mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [crate-ci/typos](https://github.com/crate-ci/typos). Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) Updates `crate-ci/typos` from 1.16.10 to 1.16.11 - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.16.10...v1.16.11) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
61 lines
1.8 KiB
YAML
61 lines
1.8 KiB
YAML
# The nightly-gauntlet runs tests that are either too flaky or too slow to block
|
|
# every PR.
|
|
name: nightly-gauntlet
|
|
on:
|
|
schedule:
|
|
# Every day at midnight
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
jobs:
|
|
go-race:
|
|
# While GitHub's toaster runners are likelier to flake, we want consistency
|
|
# between this environment and the regular test environment for DataDog
|
|
# statistics and to only show real workflow threats.
|
|
runs-on: "buildjet-8vcpu-ubuntu-2204"
|
|
# This runner costs 0.016 USD per minute,
|
|
# so 0.016 * 240 = 3.84 USD per run.
|
|
timeout-minutes: 240
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Go
|
|
uses: ./.github/actions/setup-go
|
|
|
|
- name: Setup Terraform
|
|
uses: ./.github/actions/setup-tf
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
# -race is likeliest to catch flaky tests
|
|
# due to correctness detection and its performance
|
|
# impact.
|
|
gotestsum --junitfile="gotests.xml" -- -timeout=240m -count=10 -race ./...
|
|
|
|
- name: Upload test results to DataDog
|
|
uses: ./.github/actions/upload-datadog
|
|
if: always()
|
|
with:
|
|
api-key: ${{ secrets.DATADOG_API_KEY }}
|
|
|
|
go-timing:
|
|
# We run these tests with p=1 so we don't need a lot of compute.
|
|
runs-on: "buildjet-2vcpu-ubuntu-2204"
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Go
|
|
uses: ./.github/actions/setup-go
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
gotestsum --junitfile="gotests.xml" -- --tags="timing" -p=1 -run='_Timing/' ./...
|
|
|
|
- name: Upload test results to DataDog
|
|
uses: ./.github/actions/upload-datadog
|
|
if: always()
|
|
with:
|
|
api-key: ${{ secrets.DATADOG_API_KEY }}
|