Skip to content

Commit

Permalink
setup lighttpd
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Oct 23, 2024
1 parent 6a8c6c6 commit f053041
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ jobs:

webapp-playwright-test:
needs: [cli-and-doc, webapp-ubuntu]
# if: github.ref == 'refs/heads/master'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -201,7 +202,10 @@ jobs:
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
run: |
npm ci
sudo apt-get update
sudo apt-get install lighttpd
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/playwright.yml

This file was deleted.

2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default defineConfig({

/* Run your local dev server before starting the tests */
webServer: {
command: 'lighttpd -f ~/inria/etc/lighttpd.conf -D',
command: 'lighttpd -f ./tests/playwright/lighttpd.conf -D',
url: 'http://127.0.0.1:12345/index.html',
// reuseExistingServer: !process.env.CI,
},
Expand Down

0 comments on commit f053041

Please sign in to comment.