Skip to content

Commit

Permalink
Pkg add Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOresten committed Nov 17, 2023
1 parent 98f6ecd commit b3fe1de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ jobs:
echo 'export JULIA_NUM_THREADS=1' >> run_tests.sh
echo 'julia --project --code-coverage=user -e "using Pkg; Pkg.test()"' >> run_tests.sh
chmod +x run_tests.sh
- name: Install Coverage.jl
run: julia --project -e 'using Pkg; Pkg.add("Coverage")'

- name: Run tests with Xvfb
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" ./run_tests.sh

- name: Process coverage with Coverage.jl
run: julia --project -e 'using Coverage; LCOV.writefile("lcov.info", process_folder())'

Expand Down

0 comments on commit b3fe1de

Please sign in to comment.