Files
dbgate/.github/workflows/e2e-tests.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 34: cannot unmarshal !!map into string
SPRINX0\prochazka 7e119d40a4 e2e tests
2024-12-06 16:38:42 +01:00

44 lines
1.0 KiB
YAML

name: E2E tests
on:
push:
branches:
- master
- develop
- 'feature/**'
jobs:
test-runner:
runs-on: ubuntu-latest
container: node:18
steps:
- name: Install dependencies
run: |
apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb
- name: Context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: yarn install
run: |
yarn install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: yarn prepare:packer
start: node packer/build/bundle.js --listen-api --static-dir packer/build/public
with:
project: ./e2e-tests
services:
mysql:
image: mysql:8.0.18
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
ports:
- 16004:3306