Skip to content

Commit

Permalink
Add builds for all latest versions of Erlang/OTP
Browse files Browse the repository at this point in the history
  • Loading branch information
kostiushkin committed Jan 28, 2025
1 parent e4e3ab2 commit 35b823a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 31 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
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
31 changes: 0 additions & 31 deletions .github/workflows/erlang.yml

This file was deleted.

0 comments on commit 35b823a

Please sign in to comment.