-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* ci: always run ci (#4334) (cherry picked from commit 294ec4d) # Conflicts: # .github/workflows/md-link-checker.yml # .github/workflows/test-integration.yml # .github/workflows/test-lint.yml # .github/workflows/test.yml * fixes --------- Co-authored-by: Julien Robert <[email protected]>
- Loading branch information
1 parent
d0b7a39
commit da90c3e
Showing
10 changed files
with
53 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/*.md | ||
- uses: gaurav-nelson/[email protected] | ||
if: env.GIT_DIFF | ||
with: | ||
folder-path: "." | ||
use-verbose-mode: 'yes' | ||
config-file: '.github/workflows/md-link-checker-config.json' | ||
use-verbose-mode: "yes" | ||
config-file: ".github/workflows/md-link-checker-config.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test Coverage | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # every day at midnight | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: $ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: main # change in release branches | ||
|
||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "stable" | ||
|
||
- run: ./scripts/test-coverage | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./coverage.txt | ||
fail_ci_if_error: false | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,24 +36,13 @@ jobs: | |
os: [ubuntu-latest, macos-latest] | ||
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
**/*.plush | ||
**/*.tpl | ||
go.mod | ||
go.sum | ||
**/testdata/** | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "stable" | ||
|
||
- name: Run Integration Tests | ||
if: env.GIT_DIFF | ||
env: | ||
GOTOOLCHAIN: local+path | ||
GOSUMDB: off | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
pull_request: | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
- "**.md" | ||
branches: | ||
- main | ||
- release/* | ||
|
@@ -19,23 +19,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
**/*.plush | ||
go.mod | ||
go.sum | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache: false | ||
|
||
- uses: golangci/golangci-lint-action@v3 | ||
if: env.GIT_DIFF | ||
with: | ||
version: v1.54.2 | ||
install-mode: goinstall | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,30 +20,10 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
**/*.plush | ||
go.mod | ||
go.sum | ||
**/testdata/** | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21" | ||
cache: true | ||
cache-dependency-path: go.sum | ||
|
||
- run: ./scripts/test-coverage | ||
if: env.GIT_DIFF | ||
go-version: "stable" | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
if: env.GIT_DIFF | ||
with: | ||
file: ./coverage.txt | ||
fail_ci_if_error: false | ||
verbose: true | ||
- run: ./scripts/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
go test $(go list github.com/ignite/cli/v28/ignite/...) |
This file was deleted.
Oops, something went wrong.