Skip to content

Commit

Permalink
chore: also run tests on Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jun 21, 2024
1 parent d258063 commit 08ee999
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
go-version:
- stable
- oldstable
runs-on: ubuntu-22.04
runs-on:
- ubuntu-20.04
- ubuntu-22.04
runs-on: ${{ matrix.runs-on }}
steps:
- name: install-dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions float64slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ func TestTransFloat64Slice(t *testing.T) {
{
float64Slice: []float64{723134.1266446244, 474831.4869142064},
expected: []float64{54.371652, 18.612462},
delta: 1e-14,
},
{
float64Slice: []float64{723134.1266446244, 474831.4869142064, 11.1},
expected: []float64{54.371652, 18.612462, 11.1},
delta: 1e-14,
},
{
float64Slice: []float64{723134.1266446244, 474831.4869142064, 11.1, 1},
expected: []float64{54.371652, 18.612462, 11.1, 1},
delta: 1e-14,
},
} {
t.Run(strconv.Itoa(i), func(t *testing.T) {
Expand Down

0 comments on commit 08ee999

Please sign in to comment.