Skip to content

ci: Enable forks to run CI #910

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 2 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
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
Empty commit to force CI
  • Loading branch information
kylecarbs committed Apr 7, 2022
commit fde0d7778df53b369849632578656cded156b2a9
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# by storing snapshots.
#
# SEE: https://www.chromatic.com/docs/ci
name: "Chromatic"
name: chromatic

# Chromatic works best with push events, not pull_request or other event types.
on: push

jobs:
chromatic-deployment:
deploy:
# REMARK: this is only used to build storybook and deploy it to Chromatic.
runs-on: ubuntu-latest

Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./gotests.coverage
flags: unittest-go-${{ matrix.os }}
fail_ci_if_error: ${{ github.repository_owner == 'coder' }}
flags: unittest-go-postgres-${{ matrix.os }}
fail_ci_if_error: true

deploy:
name: "deploy"
Expand Down Expand Up @@ -404,10 +404,6 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
# TODO: Get `make build` running on Windows 2022
# https://github.com/coder/coder/issues/384
# - windows-2022
steps:
- uses: actions/checkout@v3

Expand Down
7 changes: 7 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ comment:

coverage:
notify:
flags:
# Wait to notify until coverage has properly been reported.
# This can prevent incorrect statuses.
- unittest-go-ubuntu-latest
- unittest-go-postgres-ubuntu-latest
- unittest-go-macos-latest
- unittest-go-windows-2022
slack:
default:
url: secret:v1::ALa1/e2X+k36fPseab5D7+kBFc9bJyIoIQioD0IMA5jr+0HXVpBRNDCHZhHjCdGc67yff6PPixPEOLwEZpxC37rM23RBZOYlqAq9A5e0MeZVlEoVq19aOYN4Xel17hMJ6GGm7n17wrYpCpcvlVSqNrN0+cr3guVDyG10kQyfh2Y=
Expand Down