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 aa21b48 commit 4e6a4ba
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,38 @@ jobs:

- name: Deploy conda-store-server docker container
run: |
docker-compose -f docker-compose-dev.yml up --build
docker-compose -f docker-compose-dev.yml up -d --build
docker ps
wait-for-it localhost:5000 # conda-store-server
- name: Deploy webpack dev server
run: |
yarn install
yarn run build
yarn run start
- name: Test webpack dev server
- name: Deployed UI tests
uses: ./
with:
build: yarn run build
start: yarn start
# wait-on: 'http://localhost:5001'
run: |
yarn test
- name: Run Playwright tests
run: |
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

# - name: Run Playwright tests
# run: |
# playwright install
# pytest --video on --output test-results test/playwright/test_ux.py

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

0 comments on commit 4e6a4ba

Please sign in to comment.