Run tests on PeerPrepTest #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests on PeerPrepTest | |
on: | |
workflow_run: | |
workflows: ["Deploy to Testing EC2"] | |
types: | |
- completed | |
workflow_dispatch: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: master | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --production=false | |
- name: Run all tests | |
run: yarn test |