Skip to content

Fixed an issue with sys logs not working in Windows environment #19

Fixed an issue with sys logs not working in Windows environment

Fixed an issue with sys logs not working in Windows environment #19

Workflow file for this run

name: CI
on:
push:
branches: [ master, github-action ]
pull_request:
branches: [ master ]
jobs:
build:
if: "!contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
name: Test on go ${{ matrix.go-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
go-version: [ 1.11.4, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: |
./test.sh
- name: Upload coverage to Codecov
run: |
bash <(curl -s https://codecov.io/bash)
- name: Notification
if: always()
id: slack
uses: wingify/[email protected]
with:
channel-id: 'fs-review-team'
slack-message: "<!here> Test on *Go-${{ matrix.go-version }}* and *${{ matrix.os }}* got *${{job.status}}* ${{job.status == 'success' && ':heavy_check_mark:' || ':x:'}} \nCommit: `${{github.event.head_commit.message}}`. \nCheck the latest build: https://github.com/wingify/vwo-go-sdk/actions"
color: "${{job.status == 'success' && '#00FF00' || '#FF0000'}}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}