Skip to content

yml changes

yml changes #25

Workflow file for this run

name: Erlang CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:22.0.7
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 compile
#- name: Run tests
# run: rebar3 do eunit, ct
- name: List project dir
run: ls -al
- name: List .beam files
#run: ls -al ./reverse_polish_notation_evaluator/_build/default/lib/reverse_polish_notation_evaluator/ebin
run: ls -al ./reverse_polish_notation_evaluator
- name: Run reverse_polish_notation_evaluator
run: erl -noshell -pa reverse_polish_notation_evaluator/_build/default/lib/reverse_polish_notation_evaluator/ebin -s reverse_polish_notation_evaluator start -s init stop