Skip to content

Commit

Permalink
ci(test.yml): add github workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Oct 14, 2021
1 parent 76bc94a commit 09f52dd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test webapp
on: [push]
jobs:
Run-integration-test:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up default config files
run: cd src && cp config-examples/* config && for i in config/*-example.js; do mv -- "$i" "${i%-example.js}.js"; done
- name: Run test target
env:
ORSKEY: ${{ secrets.ORSKEY }}
uses: amoncaldas/github-action-webapp-front-end-test@v1
with:
target: 'integration'

0 comments on commit 09f52dd

Please sign in to comment.