IAS fix tab selection observation #863
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: Rhino Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'app/**' | |
| - 'tests/**' | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| main: | |
| name: Run tests | |
| runs-on: ubuntu-22.04 | |
| container: | |
| image: ghcr.io/biodt/shiny-base:latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Build JavaScript | |
| if: always() | |
| shell: Rscript {0} | |
| run: rhino::build_js() | |
| - name: Build Sass | |
| if: always() | |
| shell: Rscript {0} | |
| run: rhino::build_sass() | |
| - name: Run R unit tests | |
| if: always() | |
| shell: Rscript {0} | |
| run: rhino::test_r() | |
| - name: Run Cypress end-to-end tests | |
| if: always() | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| working-directory: .rhino # Created by earlier commands which use Node.js | |
| start: npm run run-app | |
| project: ../tests | |
| wait-on: 'http://localhost:3333/' | |
| wait-on-timeout: 60 |