Merge branch 'Eein-1058/fix-slow-multicore-performance' #485
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: "Compatibility: Phoenix" | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
jobs: | |
test_on_source: | |
runs-on: ubuntu-18.04 | |
name: "[${{matrix.otp}}/${{matrix.elixir}}] Phoenix ${{matrix.repo_branch}} source code analysed by Credo [OTP/Elixir]" | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: [23.3, 24.3, 25.3] | |
elixir: [1.11.4, 1.12.3, 1.13.4, 1.14.5, 1.15.7] | |
exclude: | |
- elixir: 1.11.4 | |
otp: 25.3 | |
- elixir: 1.12.3 | |
otp: 25.3 | |
- elixir: 1.14.5 | |
otp: 25.3 | |
- elixir: 1.15.7 | |
otp: 23.3 | |
- elixir: 1.15.7 | |
otp: 24.3 | |
include: | |
- elixir: 1.15.7 | |
otp: 26.1 | |
- elixir: 1.16.0-rc.0 | |
otp: 26.1 | |
repo_url: ["https://github.com/phoenixframework/phoenix.git"] | |
repo_branch: ["v1.6", "main"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- run: mix deps.get | |
- run: mix deps.compile | |
- run: mix compile | |
- run: mkdir -p tmp | |
- run: git clone ${{matrix.repo_url}} tmp/${{matrix.repo_branch}} --depth=1 --branch ${{matrix.repo_branch}} | |
- run: mix credo tmp/${{matrix.repo_branch}} --strict --mute-exit-status | |
test_on_new_project: | |
runs-on: ubuntu-18.04 | |
name: "[${{matrix.otp}}/${{matrix.elixir}}] new Phoenix app analysed by Credo [OTP/Elixir]" | |
strategy: | |
matrix: | |
otp: [21.3, 22.3, 23.3, 24.3] | |
elixir: [1.10.4, 1.11.4, 1.12.3, 1.13.4, 1.14.5, 1.15.7] | |
exclude: | |
- otp: 24.3 | |
elixir: 1.10.4 | |
- otp: 21.3 | |
elixir: 1.12.3 | |
- otp: 21.3 | |
elixir: 1.13.4 | |
- otp: 21.3 | |
elixir: 1.14.0 | |
- otp: 22.3 | |
elixir: 1.14.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- run: mix deps.get | |
- run: mix deps.compile | |
- run: mix compile | |
- run: ./test/test_phoenix_compatibility.sh |