Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Oct 27, 2023
1 parent 2ebc2e6 commit 98a7d7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ jobs:
- name: Run tests
run: docker-compose -f docker-compose-ci.yml up --build --abort-on-container-exit --renew-anon-volumes

- name: Install codecov
run: npm i -g codecov

- name: Run codecov
run: codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v3
with:
flags: integration-tests
11 changes: 4 additions & 7 deletions .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
scanner.sonarcloud.io:443
sonarcloud.io:443
codecov.io:443
storage.googleapis.com:443
uploader.codecov.io:443
- name: Check out the code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -52,10 +52,7 @@ jobs:
registry-url: https://npm.pkg.github.com
test-script: 'test:coverage'

- name: Install codecov
run: npm i -g codecov

- name: Run codecov
run: codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v3
with:
flags: unit-tests
2 changes: 0 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ sonar.organization=myrotvorets
sonar.sources=src
sonar.tests=test
sonar.testExecutionReportPaths=test-report.xml
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.eslint.reportPaths=eslint-report.json
sonar.sourceEncoding=UTF-8
sonar.coverage.exclusions=src/index.mts,src/knexfile.mts,src/lib/tracing.mts

0 comments on commit 98a7d7d

Please sign in to comment.