2
0

Replace Travis CI with Github Actions CI

This commit is contained in:
Jack Christensen
2022-08-27 07:23:30 -05:00
parent f5fa474129
commit 4ec26629b3
3 changed files with 31 additions and 17 deletions
+30
View File
@@ -0,0 +1,30 @@
name: CI
on:
push:
branches: [ master, v1 ]
pull_request:
branches: [ master, v1 ]
jobs:
test:
name: Test
runs-on: ubuntu-22.04
strategy:
matrix:
go-version: [1.18, 1.19]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test
run: go test -v -race ./...
-16
View File
@@ -1,16 +0,0 @@
language: go
go:
- 1.x
- tip
env:
global:
- STRESS_TEST_DURATION=15s
script:
- go test -v -race
matrix:
allow_failures:
- go: tip
+1 -1
View File
@@ -1,5 +1,5 @@
[![](https://godoc.org/github.com/jackc/puddle?status.svg)](https://godoc.org/github.com/jackc/puddle)
[![Build Status](https://travis-ci.org/jackc/puddle.svg)](https://travis-ci.org/jackc/puddle)
![Build Status](https://github.com/jackc/puddle/actions/workflows/ci.yml/badge.svg)
# Puddle