Skip to content

Commit

Permalink
Changed file names
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Sep 11, 2023
1 parent 3942483 commit f0734ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,9 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v${{ steps.tool-versions.outputs.golangci-lint_version }}

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
args: --enable=gofmt --tests=false --exclude-use-default --timeout=5m0s

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true

# Optional: if set to true then the action don't cache or restore ~/go/pkg.
# skip-pkg-cache: true

# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
# skip-build-cache: true
- name: Store lint report artifact
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Build
run: go build -v ./pkg/...
- name: Test
run: go test ./pkg/... -v -tags integration
run: go test ./pkg/... -v -tags integration -covermode=atomic -coverpkg=./... -coverprofile=integration_coverage.txt
- name: Test with the race detector enabled
run: go test ./pkg/... -v -race -count=10 -timeout=15m
run: go test ./pkg/... -v -race -count=10 -timeout=15m -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt
- name: Upload Go test results
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -36,4 +36,4 @@ jobs:
path: |
./output.txt
./coverage.txt
./race_coverage.txt
./integration_coverage.txt
3 changes: 1 addition & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ sonar.coverage.exclusions=**/*.test.ts, **/*_test.go, **/contracts/tests/**/*, *

# Tests' root folder, inclusions (tests to check and count) and exclusions
sonar.tests=.
sonar.test.inclusions=**/*_test.go, **/contracts/tests/**/*
sonar.test.exclusions=**/integration-tests/*
sonar.test.inclusions=**/*_test.go, **/contracts/tests/**/*, **/integration-tests/*, **/gauntlet/*

0 comments on commit f0734ea

Please sign in to comment.