Skip to content

upgrade to 7.0.0

upgrade to 7.0.0 #17

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test-memory-store:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
STORE: memory
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-redis-store:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
STORE: redis
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Setup Redis
uses: supercharge/[email protected]
with:
redis-version: 7
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-mongo-store:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
STORE: mongo
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Setup Mongo
uses: supercharge/[email protected]
with:
mongodb-version: 6.0
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-cookie-store:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
STORE: cookie
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-sqlite-store:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
STORE: sqlite
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-webdis-store:
timeout-minutes: 60
runs-on: ubuntu-latest
services:
webdis:
image: nicolas/webdis:0.1.20
ports:
- 7379:7379
env:
STORE: webdis
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test
test-postgres-store:
timeout-minutes: 60
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
STORE: postgres
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: denoland/setup-deno@v2
with:
deno-version: v2.0.3
- name: Install dependencies
working-directory: ./playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./playwright
run: npx playwright install chromium
- name: Run Playwright tests
working-directory: ./playwright
run: npx playwright test