Skip to content

Commit 117eeb8

Browse files
committed
fix 1.7, run doc build smarter
1 parent 94b6550 commit 117eeb8

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 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 }}

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)