Skip to content

Commit

Permalink
Set up GitHub Actions workflow to run test on push & PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vcschapp committed Dec 21, 2023
1 parent cf798d2 commit be8df5b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: tests
run-name: ${{ github.actor }} is running tests
on: [push, pull_request]
env:
GO_MINIMUM_VERSION: 1.20
jobs:
go_minimum:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.0
with:
go-version: ${{ env.GO_MINIMUM_VERSION }}
- run: go test ./packedrtree ./flatgeobuf
go_latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.0
with:
go-version: ${{ env.GO_MINIMUM_VERSION }}
check-latest: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ performant binary encoding for geographic data based on

## Project Status

![test status](https://github.com/gogama/flatgeobuf/actions/workflows/tests.yaml/badge.svg)

The most recent release is [v0.9.3-alpha](https://github.com/gogama/flatgeobuf/releases/tag/v0.9.3-alpha).

A beta release is expected by 2023-12-31. A stable v1.0.0 will be
Expand Down

0 comments on commit be8df5b

Please sign in to comment.