mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-23 02:05:42 +00:00
Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170)
* cicd: Move cypress to selenium+mocha * cicd: with is not supported unless using an a container * cicd: relative path to mocha * cicd: the integration-tests runner now starts/stops OliveTin * cicd: Knowing the CWD helps debugging * cicd: Headless chrome * cicd: wait for integration-test server to be started * fmt: Mostly fix isses from eslint * cicd: #169 - Test multiple combo boxes * fmt: let should be const * cicd: Remove cypress entirely
This commit is contained in:
@@ -34,28 +34,16 @@ jobs:
|
||||
cache: true
|
||||
|
||||
- name: grpc
|
||||
run: make grpc
|
||||
run: make -w grpc
|
||||
|
||||
- name: make daemon
|
||||
run: make daemon-compile-x64-lin
|
||||
run: make -w daemon-compile-x64-lin
|
||||
|
||||
- name: unit tests
|
||||
run: make daemon-unittests
|
||||
|
||||
- name: ls
|
||||
run: ls && pwd
|
||||
|
||||
- name: run OliveTin for integration tests
|
||||
run: ./OliveTin &
|
||||
run: make -w daemon-unittests
|
||||
|
||||
- name: integration tests
|
||||
uses: cypress-io/github-action@v6
|
||||
with:
|
||||
working-directory: integration-tests
|
||||
spec: cypress/e2e/general/*
|
||||
|
||||
- name: kill OliveTin after integration tests
|
||||
run: killall OliveTin
|
||||
run: cd integration-tests && make -w
|
||||
|
||||
- name: goreleaser
|
||||
uses: goreleaser/goreleaser-action@v4.2.0
|
||||
|
||||
Reference in New Issue
Block a user