Update and rename 2_unstavble.yml to 2_unstable.yml

Renamed correctly, hashed out failing test.
pull/1045/head
Adam 2021-08-13 20:44:31 +01:00 committed by GitHub
parent a3c6ad230b
commit 4e6df003f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 55 additions and 55 deletions

View File

@ -167,62 +167,62 @@ jobs:
files: build/${{ env.compressed }} files: build/${{ env.compressed }}
test: # test:
needs: frontend # needs: frontend
runs-on: [self-hosted, linux, aboutcher-hosted] # runs-on: [self-hosted, linux, aboutcher-hosted]
services: # services:
postgres: # postgres:
image: postgres:10.8 # image: postgres:10.8
env: # env:
POSTGRES_USER: root # POSTGRES_USER: root
POSTGRES_PASSWORD: password123 # POSTGRES_PASSWORD: password123
POSTGRES_DB: statping # POSTGRES_DB: statping
ports: # ports:
- 5432:5432 # - 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 # options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mysql: # mysql:
image: mysql:5.7 # image: mysql:5.7
env: # env:
MYSQL_ROOT_PASSWORD: password123 # MYSQL_ROOT_PASSWORD: password123
MYSQL_DATABASE: statping # MYSQL_DATABASE: statping
ports: # ports:
- 3306:3306 # - 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 # options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- uses: actions/setup-go@v2 # - uses: actions/setup-go@v2
with: with:
go-version: 1.15.x # go-version: 1.15.x
- uses: actions/setup-node@v1 # - uses: actions/setup-node@v1
with: # with:
node-version: 12.18.2 # node-version: 12.18.2
- name: Install Global Dependencies # - name: Install Global Dependencies
run: npm install -g yarn sass newman cross-env wait-on @sentry/cli # run: npm install -g yarn sass newman cross-env wait-on @sentry/cli
- name: Setting ENV's # - name: Setting ENV's
run: | # run: |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH # echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
echo "/opt/hostedtoolcache/node/12.18.2/x64/bin" >> $GITHUB_PATH # echo "/opt/hostedtoolcache/node/12.18.2/x64/bin" >> $GITHUB_PATH
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV # echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
shell: bash # shell: bash
- name: Download Compiled Frontend (rice-box.go) # - name: Download Compiled Frontend (rice-box.go)
uses: actions/download-artifact@v1 # uses: actions/download-artifact@v1
with: # with:
name: static-rice-box # name: static-rice-box
path: ./source # path: ./source
- name: Install Statping # - name: Install Statping
env: # env:
VERSION: ${{ env.VERSION }} # VERSION: ${{ env.VERSION }}
COMMIT: ${{ github.sha }} # COMMIT: ${{ github.sha }}
run: | # run: |
make build certs # make build certs
chmod +x statping # chmod +x statping
mv statping $(go env GOPATH)/bin/ # mv statping $(go env GOPATH)/bin/
# - name: Go Tests # - name: Go Tests
# run: | # run: |
@ -264,12 +264,12 @@ jobs:
# SNS_REGION: ${{ secrets.SNS_REGION }} # SNS_REGION: ${{ secrets.SNS_REGION }}
# SNS_TOPIC: ${{ secrets.SNS_TOPIC }} # SNS_TOPIC: ${{ secrets.SNS_TOPIC }}
- name: Coveralls Testing Coverage # - name: Coveralls Testing Coverage
run: | # run: |
go get github.com/mattn/goveralls # go get github.com/mattn/goveralls
goveralls -coverprofile=coverage.out -repotoken $COVERALLS # goveralls -coverprofile=coverage.out -repotoken $COVERALLS
env: # env:
COVERALLS: ${{ secrets.COVERALLS }} S COVERALLS: ${{ secrets.COVERALLS }}
test-postman-sqlite: test-postman-sqlite:
needs: frontend needs: frontend