8000 ci: add nightly flake workflow by ammario · Pull Request #7803 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

ci: add nightly flake workflow #7803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! ci: add nightly flake workflow
  • Loading branch information
ammario committed Jun 2, 2023
commit 8a6ba7236f4872157602da495b65b69583b50be9
44 changes: 22 additions & 22 deletions .github/workflows/nightly-flake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ on:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
test-go-race:
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:
- uses: actions/checkout@v3
test-go-race:
runs-on: 'buildjet-8vcpu-ubuntu-2204'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the high cpu GHA runners flakier than the buildjet ones?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but I wanted to keep things the same to make so that only real threats are shown. I'll add a comment.

9EF9

# This runner costs 0.016 USD per minute,
# so 0.016 * 240 = 3.84 USD per run.
timeout-minutes: 240
steps:
- uses: actions/checkout@v3

- uses: ./.github/actions/setup-go
- uses: ./.github/actions/setup-go

- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.1.9
terraform_wrapper: false
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.1.9
terraform_wrapper: false

- name: Run Tests
run: |
# -race is likeliest to catch flaky tests
# due to correctness detection and its performance
# impact.
gotestsum --junitfile="gotests.xml" -- -count=10 -race ./...
- name: Run Tests
run: |
# -race is likeliest to catch flaky tests
# due to correctness detection and its performance
# impact.
gotestsum --junitfile="gotests.xml" -- -count=10 -race ./...

- uses: ./.github/actions/upload-datadog
if: always()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
- uses: ./.github/actions/upload-datadog
if: always()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
0