Upgrade Elixir to 1.16. Upgrade Ubuntu to 22.04. Add Circle CI executors #17
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: Test Phoenix-Boilerplate | |
on: | |
push: | |
branches: [ develop, main ] | |
pull_request: | |
branches: [ develop, main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy env | |
run: cp docker/config/elixir.example.env docker/config/elixir.env | |
- name: Build elixir container | |
run: docker-compose build elixir | |
- name: Run tests | |
run: docker-compose run --rm elixir test |