Merge pull request #650 from avantifellows/timer_on_edtior_milisecond… #1522
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: Plio CI | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
pre-commit: | |
name: Pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: pre-commit/[email protected] | |
unit-tests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Test Cases | |
env: | |
VUE_APP_MIXPANEL_PROJECT_TOKEN: ${{ secrets.VUE_APP_MIXPANEL_PROJECT_TOKEN }} | |
VUE_APP_FRONTEND: ${{ secrets.VUE_APP_FRONTEND }} | |
# command to run tests and generate coverage metrics | |
run: npm run test:unit | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |