Skip to content

Commit

Permalink
beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
javiermolinar committed Aug 2, 2024
1 parent f5626f6 commit 7a18f95
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: '0'
fetch-depth: "0"
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"
- name: check-fmt
run: make check-fmt

Expand All @@ -43,10 +43,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
test-target: [test-with-cover-pkg,
test-with-cover-tempodb,
test-with-cover-tempodb-wal,
test-with-cover-others]
test-target:
[
test-with-cover-pkg,
test-with-cover-tempodb,
test-with-cover-tempodb-wal,
test-with-cover-others,
]

steps:
- name: Check out code
Expand All @@ -55,25 +58,32 @@ jobs:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Run Tests
run: make ${{ matrix.test-target }}

integration-tests:
name: Run integration tests
runs-on: ubuntu-latest
strategy:
matrix:
test-target: [test-e2e, test-integration-poller, test-e2e-deployments, test-e2e-deployments,test-e2e-serverless]
test-target:
[
test-e2e,
test-integration-poller,
test-e2e-deployments,
test-e2e-deployments,
test-e2e-serverless,
]

steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"
- name: Run Tests
run: make ${{ matrix.test-target }}

Expand All @@ -87,7 +97,7 @@ jobs:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Build Tempo
run: make tempo
Expand All @@ -111,7 +121,7 @@ jobs:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Bench
run: make test-bench
Expand All @@ -126,7 +136,7 @@ jobs:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand All @@ -146,7 +156,7 @@ jobs:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Check jsonnet
run: make jsonnet-check
Expand Down

0 comments on commit 7a18f95

Please sign in to comment.