add cli e2e to github actions

This commit is contained in:
Jonathan Jogenfors 2023-11-17 09:51:04 +01:00
parent 5e56b65b38
commit 11adf2e906

View file

@ -76,7 +76,7 @@ jobs:
if: ${{ !cancelled() }}
cli-unit-tests:
name: Run cli test suites
name: Run cli unit tests
runs-on: ubuntu-latest
defaults:
run:
@ -105,6 +105,24 @@ jobs:
run: npm run test:cov
if: ${{ !cancelled() }}
cli-e2e-tests:
name: Run cli e2e tests
runs-on: [ubuntu-latest, windows-latest]
defaults:
run:
working-directory: ./cli
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run npm install
run: npm ci
- name: Run e2e tests
run: npm run test:e2e
if: ${{ !cancelled() }}
web-unit-tests:
name: Run web unit test suites and checks
runs-on: ubuntu-latest