-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fcb05dc
commit 2710f0d
Showing
3 changed files
with
37 additions
and
79 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Common Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'master' | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16'] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gleam-lang/setup-erlang@v1.0.0 | ||
with: | ||
otp-version: ${{ matrix.otp_version }} | ||
|
||
- name: Compile | ||
run: rebar3 compile | ||
- name: EUnit tests | ||
run: rebar3 eunit | ||
- name: Dialyzer | ||
run: rebar3 dialyzer | ||
- name: XRef | ||
run: rebar3 xref | ||
- name: Coveralls | ||
run: rebar3 coveralls send |
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