File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -109,57 +109,6 @@ jobs:
109109 cache-artifact-test-${{ matrix.node }}-${{ matrix.postgresVersion }}
110110 path : .cache/
111111
112- coverage :
113- permissions :
114- contents : read
115- timeout-minutes : 15
116- strategy :
117- matrix :
118- node : [20]
119- postgresVersion : [15]
120- runs-on : ubuntu-latest
121- env :
122- CI : true
123- steps :
124- - name : Checkout
125- uses : actions/checkout@v4
126-
127- - name : Node.js ${{ matrix.node }}
128- uses : actions/setup-node@v4.0.3
129- with :
130- node-version : ${{ matrix.node }}
131- cache : " npm"
132- cache-dependency-path : " **/package.json"
133-
134- - name : Install dependencies
135- run : |
136- npm install
137-
138- - name : Generate and migrate
139- run : |
140- npx compas docker up --postgres-version ${{ matrix.postgresVersion }}
141- npx compas generate --skip-lint
142- npx compas migrate
143-
144- - name : Run compas test --coverage
145- run : |
146- npx compas test --coverage
147-
148- - name : Persist debug artifacts
149- uses : actions/upload-artifact@v4
150- if : failure()
151- with :
152- name :
153- cache-artifact-coverage-${{ matrix.node }}-${{
154- matrix.postgresVersion }}
155- path : .cache/
156-
157- - name : Upload coverage
158- uses : codecov/codecov-action@v3
159- with :
160- token : ${{ secrets.CODECOV_TOKEN }}
161- directory : ./coverage
162-
163112 sync-website :
164113 if : ${{ github.event.ref == 'refs/heads/main' }}
165114 permissions :
You can’t perform that action at this time.
0 commit comments