Skip to content

Commit fd47148

Browse files
committed
install ProtoBuf and protoc_jll in test environment
also add experimental flag indicator to CI job name for clarity
1 parent c10de86 commit fd47148

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
jobs:
88
test:
9-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
9+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - experimental ${{ matrix.experimental }}
1010
runs-on: ${{ matrix.os }}
1111
continue-on-error: ${{ matrix.experimental }}
1212
strategy:
@@ -46,11 +46,11 @@ jobs:
4646
experimental: false
4747
steps:
4848
- uses: actions/checkout@v2
49-
- name: setup protoc
50-
uses: arduino/setup-protoc@v1
51-
with:
52-
version: '3.x'
53-
- run: protoc --version
49+
# - name: setup protoc
50+
# uses: arduino/setup-protoc@v1
51+
# with:
52+
# version: '3.x'
53+
# - run: protoc --version
5454
- uses: julia-actions/setup-julia@v1
5555
with:
5656
version: ${{ matrix.version }}
@@ -66,6 +66,8 @@ jobs:
6666
${{ runner.os }}-test-
6767
${{ runner.os }}-
6868
- uses: julia-actions/julia-buildpkg@v1
69+
- name: Install ProtoBuf For Code Generation
70+
run: julia -e 'using Pkg; Pkg.add([Pkg.PackageSpec(;name="ProtoBuf", version="0.11.5"), Pkg.PackageSpec(;name="protoc_jll")]); Pkg.instantiate(); Pkg.build();'
6971
- uses: julia-actions/julia-runtest@v1
7072
- uses: julia-actions/julia-processcoverage@v1
7173
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)