mirror of https://github.com/statping/statping
github actions cypress testing
parent
ec762336b4
commit
aeadd738c6
|
@ -161,9 +161,10 @@ jobs:
|
||||||
start: yarn start
|
start: yarn start
|
||||||
wait-on: 'http://localhost:8080/api'
|
wait-on: 'http://localhost:8080/api'
|
||||||
config: pageLoadTimeout=100000,watchForFileChanges=false
|
config: pageLoadTimeout=100000,watchForFileChanges=false
|
||||||
|
browser: chrome
|
||||||
|
|
||||||
build-mac:
|
build-mac:
|
||||||
needs: test
|
needs: compile
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
@ -212,7 +213,7 @@ jobs:
|
||||||
build/statping-darwin-amd64.tar.gz
|
build/statping-darwin-amd64.tar.gz
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
needs: test
|
needs: compile
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
@ -270,7 +271,7 @@ jobs:
|
||||||
build/statping-openbsd-arm64.tar.gz
|
build/statping-openbsd-arm64.tar.gz
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
needs: test
|
needs: compile
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
@ -320,7 +321,7 @@ jobs:
|
||||||
build/statping-windows-arm.zip
|
build/statping-windows-arm.zip
|
||||||
|
|
||||||
docker-release:
|
docker-release:
|
||||||
needs: [cypress-tests, build-linux, build-mac, build-windows]
|
needs: [test, cypress-tests, build-linux, build-mac, build-windows]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Statping Repo
|
- name: Checkout Statping Repo
|
||||||
|
@ -349,7 +350,7 @@ jobs:
|
||||||
tags: "latest,v${{ env.VERSION }}"
|
tags: "latest,v${{ env.VERSION }}"
|
||||||
|
|
||||||
sentry-release:
|
sentry-release:
|
||||||
needs: [build-linux, build-mac, build-windows]
|
needs: [test, cypress-tests, build-linux, build-mac, build-windows]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Statping Repo
|
- name: Checkout Statping Repo
|
||||||
|
@ -382,7 +383,7 @@ jobs:
|
||||||
environment: production
|
environment: production
|
||||||
|
|
||||||
homebrew-release:
|
homebrew-release:
|
||||||
needs: [build-linux, build-mac, build-windows]
|
needs: [test, cypress-tests, build-linux, build-mac, build-windows]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Statping Repo
|
- name: Checkout Statping Repo
|
||||||
|
@ -399,7 +400,7 @@ jobs:
|
||||||
run: make publish-homebrew
|
run: make publish-homebrew
|
||||||
|
|
||||||
slack-update:
|
slack-update:
|
||||||
needs: [build-linux, build-mac, build-windows]
|
needs: [test, cypress-tests, build-linux, build-mac, build-windows]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Statping Repo
|
- name: Checkout Statping Repo
|
||||||
|
|
Loading…
Reference in New Issue