diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0ade043..8b9b4e4 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -70,16 +70,16 @@ jobs: node-version-file: .nvmrc - name: Run integration tests run: npm run docker:test:integration - - name: Run coverage for integration tests - run: npm run docker:cover:integration - uses: deblockt/cucumber-report-annotations-action@v1.7 with: access-token: ${{ secrets.GITHUB_TOKEN }} - path: ".test-reports/integration/report.json" + path: .test-reports/integration/report.json + - name: Run coverage for integration tests + run: npm run docker:cover:integration - name: Coveralls uses: coverallsapp/github-action@master with: - path-to-lcov: ./.coverage/integration/lcov.info + path-to-lcov: .coverage/integration/lcov.info flag-name: Integration parallel: true parallel-finished: true diff --git a/test/integration/features/nip-01/nip-01.feature-step.ts b/test/integration/features/nip-01/nip-01.feature-step.ts index d19a136..a088676 100644 --- a/test/integration/features/nip-01/nip-01.feature-step.ts +++ b/test/integration/features/nip-01/nip-01.feature-step.ts @@ -65,6 +65,7 @@ When(/I send a set_metadata event as (\w+)/, async function(name: string) { this.parameters.events = this.parameters.events ?? [] this.parameters.events.push(event) + throw new Error('mistakes were made') }) Then(/I receive a set_metadata event from (\w+)/, async function(author: string) {