Skip to content

Commit

Permalink
update for Luxor 3 -> release v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Jul 7, 2023
1 parent 977f22c commit 94e4fe1
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 15,296 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
issue_comment: # THIS BIT IS NEW
types:
- created
workflow_dispatch:
jobs:
TagBot:
# THIS 'if' LINE IS NEW
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
# NOTHING BELOW HAS CHANGED
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
74 changes: 74 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version:
- "1.6"
- "1"
- "nightly"
os:
- ubuntu-latest
- macos-latest
- windows-latest
julia-arch:
- x64
exclude:
- os: macOS-latest
julia-arch: x86

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using Lindenmayer
doctest(Lindenmayer)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Lindenmayer"
uuid = "d9db2020-d13e-4bf8-b13e-b12a3214b5ef"
authors = ["cormullion <cormullion@mac.com>"]
version = "0.2.0"
version = "0.3.0"

[deps]
Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"
Expand All @@ -12,9 +12,9 @@ Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Luxor"]
test = ["Test", "Luxor", "Lindenmayer"]

[compat]
julia = "1"
Luxor = "^2"
julia = "1.6"
Luxor = "3"
Colors = "0.9.0, 0.10.0, 0.11.0, 0.12.0"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ drawLSystem(plant,

[pkgeval-link]: http://pkg.julialang.org/?pkg=Lindenmayer

[travis-img]: https://travis-ci.org/cormullion/Lindenmayer.jl.svg?branch=master
[travis-url]: https://travis-ci.org/cormullion/Lindenmayer.jl
[travis-img]: https://travis-ci.com/cormullion/Lindenmayer.jl.svg?branch=master
[travis-url]: https://travis-ci.com/cormullion/Lindenmayer.jl

[appvey-img]: https://ci.appveyor.com/api/projects/status/jfa9e54lv92rqd3m?svg=true
[appvey-url]: https://ci.appveyor.com/project/cormullion/lindenmayer-jl/branch/master
Expand Down
4 changes: 1 addition & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
environment:
matrix:
- julia_version: 1.0
- julia_version: 1.4
- julia_version: 1.7
- julia_version: latest

platform:
- x86 # 32-bit
- x64 # 64-bit

# uncomment the following lines to allow failures on nightly julia
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"

[compat]
Documenter = "0.25"
Documenter = "0.27"
Loading

0 comments on commit 94e4fe1

Please sign in to comment.