find project by rebar.config file #62
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
name: Run Tests | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
name: OTP ${{matrix.otp}} | |
strategy: | |
matrix: | |
otp: [22.3.4.9, 23.3.4.5, 24.3.3, 25.3] | |
emacs: [27.1] # 24.5, 26.3, | |
steps: | |
- name: Install Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: ${{matrix.emacs}} | |
- name: Install Erlang | |
id: install_erlang | |
uses: sebastiw/setup-erlang@main | |
with: | |
otp-version: ${{matrix.otp}} | |
- name: Add Erlang to Path | |
run: | | |
echo "ERL_PATH=/usr/lib/erlang" >> $GITHUB_ENV | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Compile | |
run: make | |
- name: Test | |
run: make test |