Refactor Github Action per b/485167538 (#273) #45
This file contains hidden or 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: Post Commit Checks | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| ui_e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install deps | |
| run: sudo npm install -g @angular/cli | |
| - name: Check UI e2e tests | |
| uses: nick-invision/retry@v2 | |
| with: | |
| timeout_minutes: 10 | |
| max_attempts: 10 | |
| command: cd v2 && make e2e | |
| background_e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install deps | |
| run: sudo npm install -g @angular/cli | |
| - name: Check background e2e tests | |
| uses: GabrielBB/xvfb-action@v1 | |
| with: | |
| working-directory: ./v2 | |
| run: make background/test |