Skip to content

Commit

Permalink
Fix CI test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
braddf committed Apr 22, 2024
1 parent 913696b commit a029b63
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/yarn_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: run tests
run: |
cd apps/nowcasting-app
yarn test --coverage --coverageDirectory=../..
yarn build && yarn start & sleep 5 && yarn test --coverage --coverageDirectory=../..
2 changes: 1 addition & 1 deletion apps/nowcasting-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev -p 3002",
"build": "next build",
"start": "next start",
"start": "next start -p 3002",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"lint": "next lint",
Expand Down
62 changes: 31 additions & 31 deletions clover.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1707146235384" clover="3.2.0">
<project timestamp="1707146235384" name="All files">
<coverage generated="1713798332890" clover="3.2.0">
<project timestamp="1713798332890" name="All files">
<metrics statements="422" coveredstatements="182" conditionals="233" coveredconditionals="69" methods="83" coveredmethods="28" elements="738" coveredelements="279" complexity="0" loc="422" ncloc="422" packages="4" files="7" classes="7"/>
<package name="nowcasting-app">
<metrics statements="52" coveredstatements="41" conditionals="24" coveredconditionals="16" methods="17" coveredmethods="8"/>
<file name="constant.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/constant.ts">
<file name="constant.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/constant.ts">
<metrics statements="52" coveredstatements="41" conditionals="24" coveredconditionals="16" methods="17" coveredmethods="8"/>
<line num="2" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="3" count="2" type="stmt"/>
Expand Down Expand Up @@ -62,13 +62,13 @@
</package>
<package name="nowcasting-app.components">
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<file name="types.d.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/types.d.ts">
<file name="types.d.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/types.d.ts">
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
</file>
</package>
<package name="nowcasting-app.components.helpers">
<metrics statements="361" coveredstatements="132" conditionals="205" coveredconditionals="49" methods="64" coveredmethods="18"/>
<file name="cookieStorage.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/helpers/cookieStorage.ts">
<file name="cookieStorage.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/helpers/cookieStorage.ts">
<metrics statements="24" coveredstatements="17" conditionals="6" coveredconditionals="5" methods="7" coveredmethods="4"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="cond" truecount="2" falsecount="0"/>
Expand All @@ -95,7 +95,7 @@
<line num="39" count="1" type="stmt"/>
<line num="40" count="0" type="stmt"/>
</file>
<file name="data.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/helpers/data.ts">
<file name="data.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/helpers/data.ts">
<metrics statements="47" coveredstatements="21" conditionals="93" coveredconditionals="14" methods="13" coveredmethods="6"/>
<line num="5" count="1" type="stmt"/>
<line num="6" count="1" type="stmt"/>
Expand Down Expand Up @@ -145,35 +145,35 @@
<line num="289" count="0" type="stmt"/>
<line num="290" count="0" type="stmt"/>
</file>
<file name="globalState.tsx" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/helpers/globalState.tsx">
<file name="globalState.tsx" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/helpers/globalState.tsx">
<metrics statements="25" coveredstatements="19" conditionals="10" coveredconditionals="6" methods="3" coveredmethods="3"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="4" count="1" type="stmt"/>
<line num="5" count="1" type="stmt"/>
<line num="12" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="14" count="2" type="stmt"/>
<line num="16" count="2" type="stmt"/>
<line num="17" count="2" type="cond" truecount="0" falsecount="1"/>
<line num="18" count="0" type="stmt"/>
<line num="13" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="15" count="2" type="stmt"/>
<line num="17" count="2" type="stmt"/>
<line num="18" count="2" type="cond" truecount="0" falsecount="1"/>
<line num="19" count="0" type="stmt"/>
<line num="21" count="2" type="stmt"/>
<line num="20" count="0" type="stmt"/>
<line num="22" count="2" type="stmt"/>
<line num="24" count="1" type="stmt"/>
<line num="25" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="26" count="0" type="stmt"/>
<line num="23" count="2" type="stmt"/>
<line num="25" count="1" type="stmt"/>
<line num="26" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="27" count="0" type="stmt"/>
<line num="28" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="29" count="2" type="stmt"/>
<line num="28" count="0" type="stmt"/>
<line num="29" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="30" count="2" type="stmt"/>
<line num="32" count="0" type="stmt"/>
<line num="31" count="2" type="stmt"/>
<line num="33" count="0" type="stmt"/>
<line num="35" count="2" type="stmt"/>
<line num="62" count="1" type="stmt"/>
<line num="77" count="9" type="stmt"/>
<line num="100" count="1" type="stmt"/>
<line num="34" count="0" type="stmt"/>
<line num="36" count="2" type="stmt"/>
<line num="66" count="1" type="stmt"/>
<line num="81" count="9" type="stmt"/>
<line num="107" count="1" type="stmt"/>
</file>
<file name="utils.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/helpers/utils.ts">
<file name="utils.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/helpers/utils.ts">
<metrics statements="265" coveredstatements="75" conditionals="96" coveredconditionals="24" methods="41" coveredmethods="5"/>
<line num="1" count="2" type="stmt"/>
<line num="2" count="2" type="stmt"/>
Expand Down Expand Up @@ -241,14 +241,14 @@
<line num="202" count="0" type="cond" truecount="0" falsecount="4"/>
<line num="203" count="0" type="stmt"/>
<line num="206" count="2" type="stmt"/>
<line num="207" count="9" type="stmt"/>
<line num="211" count="9" type="stmt"/>
<line num="207" count="10" type="stmt"/>
<line num="211" count="10" type="stmt"/>
<line num="213" count="2" type="stmt"/>
<line num="214" count="12" type="cond" truecount="3" falsecount="0"/>
<line num="216" count="10" type="stmt"/>
<line num="217" count="10" type="cond" truecount="3" falsecount="0"/>
<line num="214" count="13" type="cond" truecount="3" falsecount="0"/>
<line num="216" count="11" type="stmt"/>
<line num="217" count="11" type="cond" truecount="3" falsecount="0"/>
<line num="218" count="1" type="stmt"/>
<line num="220" count="9" type="stmt"/>
<line num="220" count="10" type="stmt"/>
<line num="223" count="2" type="stmt"/>
<line num="224" count="0" type="stmt"/>
<line num="225" count="0" type="cond" truecount="0" falsecount="1"/>
Expand Down Expand Up @@ -444,7 +444,7 @@
</package>
<package name="nowcasting-app.components.map">
<metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
<file name="types.ts" path="/Users/dragonflyiterations/Desktop/open-climate-fix/nowcasting/nowcasting/nowcasting/apps/nowcasting-app/components/map/types.ts">
<file name="types.ts" path="/Users/brad/Projects/nowcasting/apps/nowcasting-app/components/map/types.ts">
<metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
<line num="1" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="2" count="1" type="stmt"/>
Expand Down

0 comments on commit a029b63

Please sign in to comment.