Skip to content

Commit 986892f

Browse files
authored
Backport \biC alias and tag-triggered CI (#578)
* Backport \biC alias and tag-triggered CI * Reintroduce test on v1.6 * pass coverage="user" to downstream test * revert to coverage=true in downstream.yml
1 parent 940868b commit 986892f

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
create:
9-
tags:
108
push:
119
branches:
1210
- master
13-
- backport**
1411
paths-ignore:
1512
- 'LICENSE'
1613
- 'README.md'
1714
- '.github/workflows/TagBot.yml'
15+
tags: '*'
1816
pull_request:
1917
paths-ignore:
2018
- 'LICENSE'
@@ -33,7 +31,7 @@ jobs:
3331

3432
test:
3533
needs: pre_job
36-
if: needs.pre_job.outputs.should_skip != 'true'
34+
if: ${{ !cancelled() }} && (github.ref_type == 'tag' || needs.pre_job.outputs.should_skip != 'true')
3735
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
3836
runs-on: ${{ matrix.os }}
3937
strategy:

.github/workflows/downstream.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
push:
44
branches:
55
- master
6-
- backport**
7-
tags: [v*]
6+
tags: '*'
87
pull_request:
98
paths-ignore:
109
- 'LICENSE'
@@ -27,7 +26,7 @@ jobs:
2726
uses: fkirc/skip-duplicate-actions@v5
2827
test:
2928
needs: pre_job
30-
if: needs.pre_job.outputs.should_skip != 'true'
29+
if: ${{ !cancelled() }} && (github.ref_type == 'tag' || needs.pre_job.outputs.should_skip != 'true')
3130
name: ${{ matrix.package.group }}/${{ matrix.package.repo }}/${{ matrix.julia-version }}
3231
runs-on: ${{ matrix.os }}
3332
strategy:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.8.55"
3+
version = "0.8.56"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/Domain.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export Domain, SegmentDomain, tocanonical, fromcanonical, fromcanonicalD, ∂
22
export isambiguous, arclength
33
export components, component, ncomponents
44

5-
5+
export 𝑪
66

77

88
# add indexing for all spaces, not just DirectSumSpace
@@ -118,6 +118,7 @@ maps the point `x` in `d` to a point in `canonical(d,x)`
118118
"""
119119
function tocanonical end
120120

121+
const 𝑪 = tocanonical
121122

122123
## conveninece routines
123124

src/show.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,4 @@ show(io::IO,::ConstantSpace{AnyDomain}) = print(io,"ConstantSpace")
172172
show(io::IO,S::ConstantSpace) = print(io,"ConstantSpace($(domain(S)))")
173173

174174
## Segment
175-
176-
show(io::IO,d::Segment) = print(io,"the segment [$(leftendpoint(d)),$(rightendpoint(d))]")
175+
show(io::IO,d::Segment) = print(io, "Segment($(leftendpoint(d)), $(rightendpoint(d)))")

0 commit comments

Comments
 (0)