-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test workflow + custom metric docs (#28)
* custom metric documentation * re-enable test workflow * some referencing fixes * compat version for VoronoiCells * print manifest to terminal * add GeometricalPredicates to Project * cat the manifest in the right place * pin an older version of GeometricalPredicates * change matrix of machines * remove compat * tweak tolerances * debug show and lower tolerances again * actually print the right thing this time * no fast math during tests and check bounds * julia formatting * test environment flags * fix yaml syntax * don't test on macOS
- Loading branch information
Showing
10 changed files
with
147 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,53 @@ | ||
# name: Test | ||
name: Test | ||
|
||
# on: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
# paths: | ||
# - '**.jl' | ||
# push: | ||
# branches: | ||
# - main | ||
# paths: | ||
# - '**.jl' | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- '**.jl' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '**.jl' | ||
|
||
# jobs: | ||
jobs: | ||
|
||
# smoke-test: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# julia-version: ['1.7'] | ||
# julia-arch: [x86] | ||
# os: [ubuntu-latest] | ||
smoke-test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: ['1.7'] | ||
os: [ubuntu-latest] | ||
|
||
# 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 | ||
# with: | ||
# directories: src | ||
# - uses: codecov/codecov-action@v2 | ||
# with: | ||
# files: lcov.info | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- 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 | ||
- run: cat Manifest.toml | ||
#- uses: julia-actions/julia-runtest@v1 | ||
- run: | | ||
julia --color=yes --math-mode=ieee --check-bounds=yes --project=. -e ' | ||
import Pkg | ||
Pkg.test(; coverage=true, force_latest_compatible_version=true) | ||
' | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
with: | ||
directories: src | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
files: lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Point functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters