Skip to content

Commit

Permalink
Merge branch 'dsweber2:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
BoundaryValueProblems authored Nov 11, 2023
2 parents 32634a9 + 6acdbb2 commit 6630522
Show file tree
Hide file tree
Showing 26 changed files with 3,641 additions and 490 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Generated using the wonderful PkgTemplates.jl and altered slightly
name: CI
on:
workflow_dispatch: #get a button to trigger it by hand
push:
paths: # run CI/CD when the tests change, the dependencies change, or the version changes
- test/runtests.jl
- Project.toml
pull_request: # run when pull requests are made
paths:
- src/*
- test/runtests.jl
- Manifest.toml
- Project.toml
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.7"
os:
- ubuntu-latest
- macOS-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.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
34 changes: 34 additions & 0 deletions .github/workflows/docsBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docs
on:
workflow_dispatch:
push:
paths: # rebuild the docs when the version changes or the docs change
- docs/*
- Project.toml
pull_request: # run when pull requests are made
paths:
- docs/*
- Project.toml
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.7'
- name: Install dependencies
run: |
sudo apt install libxt6 libxrender1 libxext6 libgl1-mesa-glx libqt5widgets5
- run: |
julia --project=docs -e '
using Pkg
Pkg.instantiate()
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- name: Build and deploy
run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
src/plotting.jl
/docs/build/
/docs/site/
*svg
symmetryTesting.jl
boundaryConditions.jl
*~
Expand All @@ -18,4 +17,3 @@ ShatteringExamples/coeffPlots
ShatteringExamples/*pdf
debugging.jl
*tmp*
Manifest.toml
Loading

0 comments on commit 6630522

Please sign in to comment.