Added rebar3 ct to gh workflow #8
This file contains hidden or 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: Erlang CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: erlang:26 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Compile | |
| run: rebar3 compile | |
| - name: Run EUnit tests | |
| run: rebar3 eunit | |
| - name: Run Common Test tests | |
| run: rebar3 ct | |
| - name: Check types | |
| run: rebar3 dialyzer |