Skip to content

Commit

Permalink
Updated test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marisukukise committed Jul 24, 2023
1 parent 8b436ad commit 39262b4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ name: Test UI
on:
workflow_dispatch:

env:
JAPREADER_ENV: playwright
NODE_ENV: development
CLEAR_TOKENS: true
JAPREADER_LOGS: silly
PLAYWRIGHT: true
DEBUG: pw:browser*,pw:api
DEBUG_FILE: playwright.log

jobs:
test-ubuntu:
name: Build the repository on Ubuntu
Expand Down Expand Up @@ -35,16 +44,6 @@ jobs:
run: |
sudo chmod 777 node_modules/clipboard-event/platform/clipboard-event-handler-linux
- name: Set envionment variables
run: |
export JAPREADER_ENV=playwright
export NODE_ENV=development
export CLEAR_TOKENS=true
export JAPREADER_LOGS=silly
export PLAYWRIGHT=true
export DEBUG=pw:browser*,pw:api
export DEBUG_FILE=playwright.log
- name: Package
run: yarn package

Expand All @@ -61,6 +60,7 @@ jobs:
- name: Copy test artifacts into the common folder
if: always()
run: |
ls
[ -f playwright.log ] && mv playwright.log test-results/
[ -d webm ] && mv webm/ test-results/
Expand Down

0 comments on commit 39262b4

Please sign in to comment.