Skip to content

Add comments, add split the E2E test cases and other test cases. #99

Add comments, add split the E2E test cases and other test cases.

Add comments, add split the E2E test cases and other test cases. #99

Workflow file for this run

name: Testing
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
tests:
name: Test on go ${{ matrix.go_version }}
strategy:
matrix:
go_version: [
"1.19",
"1.20",
"1.21",
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Redis Server in GitHub Actions
uses: supercharge/redis-github-action@1.4.0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go_version }}
- name: Test
run: go test -v $(go list ./... | grep -v github.com/libi/dcron/e2e)
- name: Test E2E
run: go test -v ./e2e