chore(ci): test annotations

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-10-28 22:09:49 -04:00
parent 3d4a1f849e
commit 0a217704b6
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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) {