Skip to content

Commit d8f1b5c

Browse files
authored
Merge pull request #45 from tcard/github-actions
Replace Travis CI with Github Actions
2 parents 2976346 + b228b11 commit d8f1b5c

3 files changed

Lines changed: 45 additions & 13 deletions

File tree

.github/workflows/test.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Go Tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
name: Run Tests
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
go-version: ["1.10.x", "1.11.x", "1.x"]
17+
18+
steps:
19+
- name: Set up Go
20+
uses: actions/setup-go@v4
21+
with:
22+
go-version: ${{ matrix.go-version }}
23+
24+
- name: Install system dependencies
25+
run: sudo apt-get update && sudo apt-get install -y wamerican
26+
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
with:
30+
path: src/github.com/${{ github.repository }}
31+
32+
- name: Set up GOPATH
33+
run: |
34+
echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
35+
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
36+
37+
- name: Install dependencies
38+
run: |
39+
mkdir -p $GOPATH/src/github.com/d4l3k
40+
git clone https://github.com/d4l3k/messagediff.git $GOPATH/src/github.com/d4l3k/messagediff
41+
42+
- name: Run tests with coverage
43+
run: GO111MODULE=off go test -cover ./...
44+
working-directory: src/github.com/${{ github.repository }}

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Boom Filters
2-
[![Build Status](https://travis-ci.org/tylertreat/BoomFilters.svg?branch=master)](https://travis-ci.org/tylertreat/BoomFilters) [![GoDoc](https://godoc.org/github.com/tylertreat/BoomFilters?status.png)](https://godoc.org/github.com/tylertreat/BoomFilters)
2+
[![GoDoc](https://godoc.org/github.com/tylertreat/BoomFilters?status.png)](https://godoc.org/github.com/tylertreat/BoomFilters)
33

44
**Boom Filters** are probabilistic data structures for [processing continuous, unbounded streams](http://www.bravenewgeek.com/stream-processing-and-probabilistic-methods/). This includes **Stable Bloom Filters**, **Scalable Bloom Filters**, **Counting Bloom Filters**, **Inverse Bloom Filters**, **Cuckoo Filters**, several variants of **traditional Bloom filters**, **HyperLogLog**, **Count-Min Sketch**, and **MinHash**.
55

0 commit comments

Comments
 (0)