Skip to content

Commit

Permalink
install ProtoBuf and protoc_jll in test environment
Browse files Browse the repository at this point in the history
also add experimental flag indicator to CI job name for clarity
  • Loading branch information
tanmaykm committed Feb 24, 2024
1 parent c10de86 commit fd47148
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - experimental ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down Expand Up @@ -46,11 +46,11 @@ jobs:
experimental: false
steps:
- uses: actions/checkout@v2
- name: setup protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- run: protoc --version
# - name: setup protoc
# uses: arduino/setup-protoc@v1
# with:
# version: '3.x'
# - run: protoc --version
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
Expand All @@ -66,6 +66,8 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- name: Install ProtoBuf For Code Generation
run: julia -e 'using Pkg; Pkg.add([Pkg.PackageSpec(;name="ProtoBuf", version="0.11.5"), Pkg.PackageSpec(;name="protoc_jll")]); Pkg.instantiate(); Pkg.build();'
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
Expand Down

0 comments on commit fd47148

Please sign in to comment.