Skip to content

fix: Update deps and make ci work #37

fix: Update deps and make ci work

fix: Update deps and make ci work #37

Workflow file for this run

name: WebDriver Mocking
on:
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
ref: '3.x'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: docker run -d --net=host selenium/standalone-chrome
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install php
- name: npm install
run: |
npm install
- name: start a server
run: "php -S 127.0.0.1:8000 -t codeceptjs/test/data/app &"
- run: sleep 5
- name: tests
run: "npx codeceptjs run -c test/codecept.webdriver.conf.js --grep @WebDriver --debug"