Bump test project deps #65
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- "v*.*.*" | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: test | |
env: | |
MIX_ENV: test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26" | |
elixir-version: "1.15" | |
gleam-version: "1.0.0-rc1" | |
- name: Check formatting | |
run: mix format --check-formatted | |
- name: Install archive | |
run: mix do archive.build, archive.install --force | |
env: | |
MIX_ENV: prod | |
- name: Get basic project deps | |
run: mix deps.get | |
working-directory: test_projects/basic_project | |
- name: Test basic project | |
run: mix test | |
working-directory: test_projects/basic_project | |
- name: Gleam test basic project | |
run: mix gleam.test | |
working-directory: test_projects/basic_project |