Skip to content

Commit e7bd1c5

Browse files
committed
Merge branch 'master' into sd/fix-uv-eltype
2 parents 325ff87 + 0cd7855 commit e7bd1c5

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
branches:
9+
- master
510
jobs:
611
test:
712
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -11,8 +16,7 @@ jobs:
1116
matrix:
1217
version:
1318
- '1.3'
14-
- '1'
15-
- 'nightly'
19+
- '1.7'
1620
os:
1721
- ubuntu-latest
1822
- macOS-latest
@@ -50,18 +54,12 @@ jobs:
5054
- uses: actions/checkout@v2
5155
- uses: julia-actions/setup-julia@v1
5256
with:
53-
version: '1.6'
57+
version: '1.7'
5458
- run: |
5559
julia --project=docs -e '
5660
using Pkg
5761
Pkg.develop(PackageSpec(path=pwd()))
5862
Pkg.instantiate()'
59-
- run: |
60-
julia --project=docs -e '
61-
using Documenter: doctest, DocMeta
62-
using GeometryBasics
63-
DocMeta.setdocmeta!(GeometryBasics, :DocTestSetup, :(using GeometryBasics); recursive=true)
64-
doctest(GeometryBasics)'
6563
- run: julia --project=docs docs/make.jl
6664
env:
6765
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
*.jl.mem
44
.DS_Store
55
/Manifest.toml
6+
docs/Manifest.toml
67
docs/build/
78
*~

docs/make.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#! /usr/bin/env julia
22

33
using Documenter
4-
54
using GeometryBasics
65

76
DocMeta.setdocmeta!(GeometryBasics, :DocTestSetup, :(using GeometryBasics); recursive=true)

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ end
491491

492492
@test texturecoordinates(m) == nothing
493493
r2 = Rect2(0.0, 0.0, 1.0, 1.0)
494-
@test iterate(texturecoordinates(r2)) == ((0.0, 1.0), ((0.0, 2), (1.0, 2)))
494+
@test collect(texturecoordinates(r2)) == [(0.0, 1.0), (1.0, 1.0), (0.0, 0.0), (1.0, 0.0)]
495495
r3 = Rect3(0.0, 0.0, 1.0, 1.0, 2.0, 2.0)
496-
@test iterate(texturecoordinates(r3)) == ([0, 0, 0], 2)
496+
@test first(texturecoordinates(r3)) == Vec3(0, 0, 0)
497497
uv = decompose_uv(m)
498498
@test Rect(Point.(uv)) == Rect(0, 0, 1, 1)
499499

0 commit comments

Comments
 (0)