Use of @__DIR__
for aircraft.png
#22
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
name: CI | |
# Run on main, tags, or any pull request | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
pull_request: | |
jobs: | |
# unit tests with coverage | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- "1.9" # Latest | |
os: | |
- windows-latest | |
arch: | |
- x64 | |
steps: | |
# check out the project and install Julia | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
# using a cache can speed up execution times | |
- uses: actions/cache@v2 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-${{ matrix.arch }}-test- | |
${{ runner.os }}-${{ matrix.arch }}- | |
${{ runner.os }}- | |
# build the dependencies, run the tests, and upload coverage results | |
- uses: julia-actions/julia-buildpkg@latest | |
- run: | | |
git config --global user.name Tester | |
git config --global user.email [email protected] | |
- name: Run Tests | |
uses: julia-actions/julia-runtest@latest | |
env: | |
PYTHON: Conda | |
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$HOME/.julia/conda/3/lib | |
TESTPLOTS: true | |
- uses: julia-actions/julia-processcoverage@v1 | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
file: ./lcov.info | |
flags: unittests | |
name: codecov-umbrella |