Approach the sample config. file to rebar3.org's documentation #507
Workflow file for this run
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: Shell tests | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
push: | |
branches: | |
- 'main' | |
jobs: | |
shelltests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '26.0' | |
elixir-version: '1.14' | |
- name: Compile | |
run: ./bootstrap | |
- name: Install | |
run: | | |
sudo cp ./rebar3 /usr/local/bin/ | |
- name: Checkout shell tests | |
run: git clone https://github.com/tsloughter/rebar3_tests | |
- name: Install and run shelltestrunner | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y shelltestrunner build-essential cmake liblz4-dev | |
cd rebar3_tests | |
mix local.hex --force | |
./run_tests.sh |