Skip to content

Commit 102c830

Browse files
authored
refactor: remove coverage configuration and related files (#168)
1 parent 5dddd40 commit 102c830

File tree

8 files changed

+41
-744
lines changed

8 files changed

+41
-744
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: CI - Biome and Tests
1+
name: CI - Biome and TypeScript
22
on:
33
push:
44
branches: [develop, main]
55
pull_request:
66
branches: [develop, main]
77
jobs:
88
test:
9-
name: Run tests and collect coverage
9+
name: Run biome and typescript checks
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
@@ -25,19 +25,3 @@ jobs:
2525

2626
- name: Run Biome check
2727
run: bunx biome ci .
28-
29-
- name: Run tests
30-
run: bunx jest --coverage --reporters=jest-junit
31-
32-
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v4
34-
with:
35-
directory: ${{ github.action_path }}
36-
token: ${{ secrets.CODECOV_TOKEN }}
37-
38-
- name: Upload test results to Codecov
39-
if: ${{ !cancelled() }}
40-
uses: codecov/test-results-action@v1
41-
with:
42-
directory: ${{ github.action_path }}
43-
token: ${{ secrets.CODECOV_TOKEN }}

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ credentials/
4242
expo-env.d.ts
4343
# @end expo-cli
4444

45-
coverage/**/*
46-
4745
junit.xml
4846

4947
# nvim

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[![CodeQL](https://github.com/neuland-ingolstadt/neuland.app-native/actions/workflows/codeql.yml/badge.svg)](https://github.com/neuland-ingolstadt/neuland.app-native/actions/workflows/codeql.yml)
22
[![CI - Biome & Tests](https://github.com/neuland-ingolstadt/neuland.app-native/actions/workflows/ci.yml/badge.svg)](https://github.com/neuland-ingolstadt/neuland.app-native/actions/workflows/ci.yml)
3-
[![codecov](https://codecov.io/gh/neuland-ingolstadt/neuland.app-native/graph/badge.svg?token=P4TWL0KB1F)](https://codecov.io/gh/neuland-ingolstadt/neuland.app-native)
43

54
# Neuland Next - native version of neuland.app
65

biome.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"plugins/",
1717
"docs/.vitepress/cache/",
1818
"patches/",
19-
"coverage/",
2019
"__generated__/",
2120
".expo/",
2221
"src/data/licenses.json"

bun.lock

Lines changed: 38 additions & 422 deletions
Large diffs are not rendered by default.

codecov.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
"format": "biome check --fix",
2020
"licences": "npm-license-crawler -onlyDirectDependencies -json src/data/licenses.json --exclude docs/",
2121
"codegen": "graphql-codegen --config codegen.yml",
22-
"changelog": "git cliff --output CHANGELOG.md",
23-
"test": "jest --watch --coverage=false --changedSince=origin/main",
24-
"testDebug": "jest -o --watch --coverage=false",
25-
"testFinal": "jest",
26-
"updateSnapshots": "jest -u --coverage=false"
22+
"changelog": "git cliff --output CHANGELOG.md"
2723
},
2824
"dependencies": {
2925
"@aptabase/react-native": "^0.3.10",
@@ -120,7 +116,6 @@
120116
"@types/bun": "latest",
121117
"@types/color": "^4.2.0",
122118
"@types/geojson": "^7946.0.16",
123-
"@types/jest": "^29.5.14",
124119
"@types/node": "^22.13.13",
125120
"@types/prop-types": "^15.7.14",
126121
"@types/react": "~18.3.20",
@@ -132,9 +127,6 @@
132127
"expo-atlas": "^0.4.0",
133128
"expo-dev-client": "~5.0.15",
134129
"graphql-codegen-typescript-operation-types": "^2.0.1",
135-
"jest": "~29.7.0",
136-
"jest-expo": "~52.0.6",
137-
"jest-junit": "^16.0.0",
138130
"prop-types": "^15.8.1",
139131
"typescript": "^5.8.2"
140132
},
@@ -144,22 +136,6 @@
144136
"react-native-drag-sort@2.4.4": "patches/react-native-drag-sort@2.4.4.patch",
145137
"getenv@1.0.0": "patches/getenv@1.0.0.patch"
146138
},
147-
"jest": {
148-
"preset": "jest-expo",
149-
"transformIgnorePatterns": [
150-
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@sentry/react-native|native-base|react-native-svg)"
151-
],
152-
"coverageReporters": ["text", "cobertura"],
153-
"collectCoverage": true,
154-
"collectCoverageFrom": [
155-
"**/*.{ts,tsx,js,jsx}",
156-
"!**/coverage/**",
157-
"!**/node_modules/**",
158-
"!**/babel.config.js",
159-
"!**/expo-env.d.ts",
160-
"!**/.expo/**"
161-
]
162-
},
163139
"expo": {
164140
"install": {
165141
"exclude": [

src/utils/__tests__/timetable-utils-test.ts

Lines changed: 0 additions & 251 deletions
This file was deleted.

0 commit comments

Comments
 (0)