forked from erlang-ls/erlang_ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request erlang-ls#316 from erlang-ls/305-github-actions
[erlang-ls#305] Create build.yml to try GitHub Actions on Windows
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
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,29 @@ | ||
name: Erlang CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
container: | ||
image: erlang:22.0.7 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Compile | ||
run: rebar3 compile | ||
- name: Run CT Tests | ||
run: rebar3 ct | ||
- name: Run PropEr Tests | ||
run: rebar3 proper --cover --constraint_tries 100 | ||
- name: Run Checks | ||
run: rebar3 dialyzer xref | ||
- name: Create Cover Reports | ||
run: rebar3 do cover coveralls send |