1*3446d1b5SJeremy L Thompsonname: Julia - Test and Style 2*3446d1b5SJeremy L Thompson 3*3446d1b5SJeremy L Thompsonon: 4*3446d1b5SJeremy L Thompson push: 5*3446d1b5SJeremy L Thompson 6*3446d1b5SJeremy L Thompsonjobs: 7*3446d1b5SJeremy L Thompson test: 8*3446d1b5SJeremy L Thompson strategy: 9*3446d1b5SJeremy L Thompson matrix: 10*3446d1b5SJeremy L Thompson os: [ubuntu-latest] 11*3446d1b5SJeremy L Thompson julia-version: ['1'] 12*3446d1b5SJeremy L Thompson 13*3446d1b5SJeremy L Thompson runs-on: ${{ matrix.os }} 14*3446d1b5SJeremy L Thompson 15*3446d1b5SJeremy L Thompson steps: 16*3446d1b5SJeremy L Thompson - name: Environment setup 17*3446d1b5SJeremy L Thompson uses: actions/checkout@v2 18*3446d1b5SJeremy L Thompson - name: Julia setup 19*3446d1b5SJeremy L Thompson uses: julia-actions/setup-julia@latest 20*3446d1b5SJeremy L Thompson with: 21*3446d1b5SJeremy L Thompson version: ${{ matrix.julia-version }} 22*3446d1b5SJeremy L Thompson - name: Julia test and style 23*3446d1b5SJeremy L Thompson run: | 24*3446d1b5SJeremy L Thompson make info 25*3446d1b5SJeremy L Thompson make -j2 26*3446d1b5SJeremy L Thompson export JULIA_LIBCEED_LIB=$(find $PWD/lib -name "libceed.*") 27*3446d1b5SJeremy L Thompson pushd julia/LibCEED.jl 28*3446d1b5SJeremy L Thompson julia --project -e 'import Pkg; Pkg.build(); Pkg.test("LibCEED"; coverage=true)' 29*3446d1b5SJeremy L Thompson unset JULIA_LIBCEED_LIB && julia --project -e 'import Pkg; Pkg.build(); Pkg.test("LibCEED")' 30*3446d1b5SJeremy L Thompson julia --project=.style/ -e 'import Pkg; Pkg.instantiate()' && julia --project=.style/ .style/ceed_style.jl && git diff --exit-code src test examples 31