Skip to content

Commit

Permalink
feat: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenGeo committed Mar 16, 2021
1 parent 6480b98 commit 0960345
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,29 +110,28 @@ jobs:
# docker build . --file Dockerfile --tag
# rodekruis/ibf-pipeline:$(date +%s)


cypress-run:
needs: detect-changes
if: |
${{ needs.detect-changes.outputs.ibf-pipeline == 'true' }} ||
${{ needs.detect-changes.outputs.ibf-dashboard == 'true' }} ||
${{ needs.detect-changes.outputs.ibf-api-service == 'true' }}
${{ needs.detect-changes.outputs.ibf-api-service == 'true' }}
runs-on: ubuntu-latest

defaults:
run:
working-directory: "services/IBF-pipeline"
steps:
- name: Checkout
uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
build: npm run build
start: npm start
- name: Checkout
uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
build: npm run build
start: npm start

bump-version:
needs: [ibf-api-service, ibf-dashboard, ibf-pipeline]
Expand Down

0 comments on commit 0960345

Please sign in to comment.