small tweaks to CI
@@ -290,7 +290,7 @@ jobs:
- name: Run slow tests
if: matrix.task == 'slow'
run: |
- poetry run pymedphys dev tests -v --run-only-slow
+ poetry run pymedphys dev tests -v --slow
## Docs
@@ -311,35 +311,13 @@ jobs:
- uses: actions/setup-node@v1
if: matrix.task == 'cypress'
- - name: Initially run Cypress tests only locally, without dashboard integration
+ - name: Run Cypress tests
if: matrix.task == 'cypress'
run: |
- poetry run pymedphys dev tests -v -s --run-only-yarn
+ poetry run pymedphys dev tests -v -s --cypress
- uses: actions/upload-artifact@v2
if: failure() && matrix.task == 'cypress'
with:
name: cypress-videos
path: pymedphys/tests/e2e/cypress/videos
-
- # - name: Delete GUI demo data and run the PyMedPhys GUI
- # if: failure() && matrix.os == 'ubuntu' && matrix.task == 'tests'
- # run: |
- # rm -rf pymedphys-gui-demo
- # poetry run pymedphys gui &
-
- # - name: Run Cypress through the dashboard tool so as to see the failures
- # if: failure() && matrix.os == 'ubuntu' && matrix.task == 'tests'
- # uses: cypress-io/github-action@v1
- # with:
- # install: true
- # record: true
- # start: yarn start
- # working-directory: tests/e2e
- # wait-on: 'http://localhost:8501'
- # env:
- # # pass the Dashboard record key as an environment variable
- # CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # host: localhost
- # port: 8501
