Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request ubiquity-os-marketplace#1 from Meniole/development
Browse files Browse the repository at this point in the history
fix: workflow cypress
  • Loading branch information
gentlementlegen authored Jun 3, 2024
2 parents 5dd1302 + 0bf1b43 commit 3f35a2d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Run Cypress testing suite
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
workflow_run:
workflows: ["Build"]
types:
- completed

jobs:
cypress-run:
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/jest-testing.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Run Jest testing suite
on:
workflow_dispatch:
pull_request_target:
types: [opened, synchronize]
workflow_run:
workflows: ["Build"]
types:
Expand All @@ -21,16 +19,16 @@ jobs:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Build & Run test suite
run: |
yarn
yarn test | tee ./coverage.txt && exit ${PIPESTATUS[0]}
# - name: Build & Run test suite
# run: |
# yarn
# yarn test | tee ./coverage.txt && exit ${PIPESTATUS[0]}
- name: Jest Coverage Comment
# Ensures this step is run even on previous step failure (e.g. test failed)
if: always()
uses: MishaKav/jest-coverage-comment@main
with:
coverage-summary-path: coverage/coverage-summary.json
junitxml-path: junit.xml
junitxml-title: JUnit
coverage-path: ./coverage.txt
uses: ArtiomTr/jest-coverage-report-action@v2
# with:
# coverage-summary-path: coverage/coverage-summary.json
# junitxml-path: junit.xml
# junitxml-title: JUnit
# coverage-path: ./coverage.txt

0 comments on commit 3f35a2d

Please sign in to comment.