Skip to content

Commit

Permalink
test: testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelFerrand committed Nov 6, 2023
1 parent c852f9f commit 8fa4935
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
shard: [1]
defaults:
run:
working-directory: back/integration-tests
working-directory: front
steps:
- uses: actions/checkout@v3
# Start containers (back + front)
# - name: Start containers
#working-directory: back/integration-tests
# env:
# TD_COMPANY_ELASTICSEARCH_URL: ${{ secrets.TD_COMPANY_ELASTICSEARCH_URL }}
# TD_COMPANY_ELASTICSEARCH_CACERT: ${{ secrets.TD_COMPANY_ELASTICSEARCH_CACERT }}
Expand All @@ -27,21 +28,17 @@ jobs:
# Install front dependencies
- name: Set up Node.js (front)
uses: actions/setup-node@v3
working-directory: front
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: front/package-lock.json
- name: Install dependencies (front)
working-directory: front
run: npm ci
# Install Playwright
- name: Install Playwright Browsers
working-directory: front
run: npx playwright install --with-deps
# Run e2e tests
- name: Run Playwright tests
working-directory: front
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
Expand All @@ -51,6 +48,7 @@ jobs:
retention-days: 30
# Stop the containers
# - name: Stop containers
# working-directory: back/integration-tests
# env:
# TD_COMPANY_ELASTICSEARCH_URL: ${{ secrets.TD_COMPANY_ELASTICSEARCH_URL }}
# TD_COMPANY_ELASTICSEARCH_CACERT: ${{ secrets.TD_COMPANY_ELASTICSEARCH_CACERT }}
Expand Down

0 comments on commit 8fa4935

Please sign in to comment.