Skip to content

Commit f184728

Browse files
jagotdlfivefifty
andauthored
Start porting to new QuasiArrays (#22)
* Start porting to new QuasiArrays * LazyArrays compat -> 0.18 * Drop Julia < 1.5 * WIP Update @materialize macro * Use @Simplify * @materialize now generates {simplifiable,_simplify} * scalar tests pass * FD tests mostly pass * Fixed bandrange tests for partially or non-overlapping restrictions * Fixed broken FE-DVR test * Don't test on 1.4 anymore * Update Project.toml * Try changing MemoryLayout * Update fedvr_derivatives.jl * New versions of {Quasi,Continuum}Arrays; this should fix FEDVR blocks * Transitioned to Github Actions * Separate doctest stage to not stop deployment * Not so fast... * Don't doctest unnecessarily * LazyArrays 0.21 compat entry * Relaxed test Co-authored-by: Sheehan Olver <[email protected]>
1 parent 4d58f0c commit f184728

26 files changed

+166
-400
lines changed

.appveyor.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/CI.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.5'
14+
# - '1.6'
15+
- 'nightly'
16+
os:
17+
- ubuntu-latest
18+
- macOS-latest
19+
- windows-latest
20+
arch:
21+
- x64
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: julia-actions/setup-julia@v1
25+
with:
26+
version: ${{ matrix.version }}
27+
arch: ${{ matrix.arch }}
28+
- uses: actions/cache@v1
29+
env:
30+
cache-name: cache-artifacts
31+
with:
32+
path: ~/.julia/artifacts
33+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34+
restore-keys: |
35+
${{ runner.os }}-test-${{ env.cache-name }}-
36+
${{ runner.os }}-test-
37+
${{ runner.os }}-
38+
- uses: julia-actions/julia-buildpkg@v1
39+
- uses: julia-actions/julia-runtest@v1
40+
- uses: julia-actions/julia-processcoverage@v1
41+
- uses: codecov/codecov-action@v1
42+
with:
43+
file: lcov.info
44+
docs:
45+
name: Documentation
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/checkout@v2
49+
- uses: julia-actions/setup-julia@v1
50+
with:
51+
version: '1.5'
52+
- run: |
53+
julia --project=docs -e '
54+
using Pkg
55+
pkg"add PyCall PyPlot https://github.com/jagot/Jagot.jl.git https://github.com/jagot/PyPlotRecipes.jl.git Colors LinearAlgebra IntervalSets Statistics Random ArnoldiMethod"
56+
Pkg.develop(PackageSpec(path=pwd()))
57+
Pkg.instantiate()'
58+
env:
59+
PYTHON: ""
60+
- run: julia --project=docs docs/make.jl
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
64+
doctests:
65+
name: Doctests
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v2
69+
- uses: julia-actions/setup-julia@v1
70+
with:
71+
version: '1.5'
72+
- run: |
73+
julia --project=docs -e '
74+
using Pkg
75+
Pkg.develop(PackageSpec(path=pwd()))
76+
Pkg.instantiate()'
77+
- run: |
78+
julia --project=docs -e '
79+
using Documenter: DocMeta, doctest
80+
using CompactBases
81+
DocMeta.setdocmeta!(CompactBases, :DocTestSetup, :(using CompactBases, LinearAlgebra); recursive=true)
82+
doctest(CompactBases)'

.github/workflows/CompatHelper.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ name: CompatHelper
22
on:
33
schedule:
44
- cron: 0 0 * * *
5+
workflow_dispatch:
56
jobs:
6-
build:
7+
CompatHelper:
78
runs-on: ubuntu-latest
89
steps:
910
- name: Pkg.add("CompatHelper")
1011
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
1112
- name: CompatHelper.main()
12-
run: julia -e 'using CompatHelper; CompatHelper.main()'
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 0 * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ ltximg
99
/docs/Manifest.toml
1010
/docs/src/figures
1111
/docs/src/assets/logo.svg
12+
Manifest.toml

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)