-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builds for all latest versions of Erlang/OTP
- Loading branch information
1 parent
e4e3ab2
commit 35b823a
Showing
2 changed files
with
38 additions
and
31 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,38 @@ | ||
name: Build and Test Erlang Application | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
## Every Monday at 2am. | ||
- cron: 0 2 * * 1 | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
matrix: | ||
erlang-version: [17.5, 18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.3, 25.3] | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Erlang/OTP | ||
uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{ matrix.erlang-version }} | ||
|
||
- name: Build Project | ||
run: make | ||
|
||
- name: Run Tests | ||
run: make tests | ||
|
||
- name: Coveralls | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: rebar3 as test coveralls send |
This file was deleted.
Oops, something went wrong.