Skip to content

Commit

Permalink
Update GHA workflow after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vihu committed Apr 24, 2021
1 parent 81b49ff commit e1d59df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,24 @@ jobs:
restore-keys: |
${{ runner.os }}-dialyzer-
- name: Build
run: rebar3 compile
- name: Install stable choolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Run tests
run: rebar3 as test do eunit,ct,cover
- name: Build
run: make

- name: Run Dialyzer
run: rebar3 do dialyzer #, xref
run: make typecheck

- name: Run tests
run: make test

- name: Generate coverage report
run: rebar3 covertool generate
run: make cover

- name: Upload coverage report
if: ${{ !env.ACT }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ clean:
$(REBAR) clean

cover:
$(REBAR) cover
$(REBAR) covertool generate

test: compile
$(REBAR) as test do ct
$(REBAR) as test do eunit,ct

typecheck:
$(REBAR) dialyzer
Expand Down

0 comments on commit e1d59df

Please sign in to comment.