Skip to content

Commit

Permalink
take a different approach to yarn start
Browse files Browse the repository at this point in the history
  • Loading branch information
kcpevey committed Sep 18, 2023
1 parent 4e6a4ba commit 3b99b39
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,26 @@ jobs:
wait-for-it localhost:5000 # conda-store-server
- name: Deployed UI tests
uses: ./
with:
build: yarn run build
start: yarn start
# wait-on: 'http://localhost:5001'
# - name: Deployed UI tests
# uses: ./
# with:
# build: yarn run build
# start: yarn start
# # wait-on: 'http://localhost:5001'
# run: |
# yarn test
# playwright install
# pytest --video on --output test-results test/playwright/test_ux.py

- name: Deploy webpack dev server
run: |
yarn install
yarn run build
yarn run start &
yarn test
playwright install
pytest --video on --output test-results test/playwright/test_ux.py
# - name: Deploy webpack dev server
# run: |
# yarn install
# yarn run build
# yarn run start

# - name: Test webpack dev server
# run: |
# yarn test
Expand All @@ -78,6 +81,7 @@ jobs:
# playwright install
# pytest --video on --output test-results test/playwright/test_ux.py

- name: Upload artifacts
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
Expand Down

0 comments on commit 3b99b39

Please sign in to comment.