Skip to content

Commit 186e6ac

Browse files
committed
CI: Update to use latest versions, and merge jobs
1 parent a73f9f8 commit 186e6ac

1 file changed

Lines changed: 3 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
otp: ['20', '25', '26', '27', '28']
12+
otp: [24, 25, 26, 27, 28, 29]
1313
runs-on: ubuntu-24.04
1414
container:
1515
image: public.ecr.aws/docker/library/erlang:${{ matrix.otp }}
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
- name: Prepare libraries
1919
run: |
2020
apt-get -qq update
@@ -26,29 +26,11 @@ jobs:
2626
- run: REBAR=rebar3 make xref
2727
- run: REBAR=rebar3 make dialyzer
2828
- run: rebar3 eunit -v
29-
30-
cover:
31-
name: Cover
32-
needs: [tests]
33-
runs-on: ubuntu-24.04
34-
container:
35-
image: public.ecr.aws/docker/library/erlang
36-
steps:
37-
- uses: actions/checkout@v4
38-
- name: Prepare libraries
39-
run: |
40-
apt-get -qq update
41-
apt-get -qq install libgd-dev libjpeg-dev libpng-dev libwebp-dev
42-
- run: ./configure --enable-gcov
43-
- run: REBAR=rebar3 make
44-
- run: rebar3 eunit -v
45-
#- run: pip install --user cpp-coveralls
46-
#- run: cpp-coveralls -b `pwd` --verbose --gcov-options '\-lp' --dump c.json
4729
- name: Send to Coveralls
30+
if: matrix.otp == 28
4831
env:
4932
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5033
run: |
51-
#ADDJSONFILE=c.json COVERALLS=true rebar3 as test coveralls send
5234
COVERALLS=true rebar3 as test coveralls send
5335
curl -v -k https://coveralls.io/webhook \
5436
--header "Content-Type: application/json" \

0 commit comments

Comments
 (0)