Breaking release 0.22 #6815
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: RPRMakie CI | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
branches: | |
- master | |
- breaking-0.22 | |
push: | |
tags: | |
- '*' | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: RPRMakie Julia ${{ matrix.version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.10' | |
os: | |
- ubuntu-20.04 | |
arch: | |
- x64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v2 | |
- name: Install Julia dependencies | |
shell: julia --project=monorepo {0} | |
run: | | |
using Pkg; | |
pkg"registry up" | |
Pkg.update() | |
pkg"add GeometryBasics#sd/simple-mesh" | |
pkg"add MeshIO#ff/GeometryBasics_refactor" | |
pkg"add ShaderAbstractions#ff/GeometryBasics_refactor" | |
# dev mono repo versions | |
pkg"dev . ./MakieCore ./RPRMakie ./ReferenceTests" | |
- name: Run the tests | |
continue-on-error: true | |
run: > | |
julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("RPRMakie", coverage=true)' | |
&& echo "TESTS_SUCCESSFUL=true" >> $GITHUB_ENV | |
- name: Upload test Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ReferenceImages_${{ matrix.os }}_${{ matrix.arch }}_${{ matrix.version }} | |
path: ./RPRMakie/test/recorded | |
- name: Fail after artifacts if tests failed | |
if: ${{ env.TESTS_SUCCESSFUL != 'true' }} | |
run: exit 1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v4 | |
with: | |
file: lcov.info |