Skip to content
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

chore: Update .gitignore files and add coverage directory and some coverage collection logic #243

Merged
merged 4 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .github/workflows/lint-test-build-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

build:
name: Build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint-test-build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ jobs:
run: bun install

- name: Test with Jest
run: bun test --coverage
run: bun test --coverage --coverage-reporter=lcov --coverage-dir=coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true
verbose: true

# Build job
build:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/lint-test-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@ jobs:
run: npm install --legacy-peer-deps

- name: Run Tests
run: npm run test
run: npm run test:coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true
verbose: true
4 changes: 3 additions & 1 deletion frontend/occupi-mobile4/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ google-services.json
expo-env.d.ts
# @end expo-cli

.env
.env

coverage/
Loading
Loading