|
12 | 12 | fail-fast: false |
13 | 13 | matrix: |
14 | 14 | project: [ |
15 | | - { org: "ash-project", name: "ash", with: "phx.new", true, install: "ash ash_postgres ash_money ash_graphql ash_json_api ash_authentication ash_authentication_phoenix ash_oban ash_paper_trail ash_admin ash_double_entry ash_state_machine ash_appsignal", flags: "--auth-strategy password,magic_link"}, |
16 | | - { org: "oban-bg", name: "oban", with: "phx.new", install: "oban"}, |
17 | | - # { org: "BeaconCMS", name: "beacon", phx_new: true, install: "beacon beacon_live_admin", flags: "--beacon.site cms"} |
| 15 | + { |
| 16 | + org: "ash-project", |
| 17 | + name: "ash", |
| 18 | + test-cmd: "test --only igniter" |
| 19 | + } |
18 | 20 | ] |
19 | 21 | otp: ["27.2"] |
20 | 22 | elixir: ["1.18.1"] |
@@ -51,14 +53,25 @@ jobs: |
51 | 53 | - name: mix compile --force --warnings-as-errors inside ./${{matrix.project.name}} |
52 | 54 | run: mix compile --force --warnings-as-errors |
53 | 55 | working-directory: ./${{matrix.project.name}} |
54 | | - - run: mix archive.install hex igniter_new --force |
55 | | - - run: mix archive.install hex phx_new --force |
56 | | - - run: mix igniter.new my_app --with ${{matrix.project.with}} |
57 | | - - run: mix deps.update igniter |
58 | | - working-directory: my_app |
59 | | - - run: mix igniter.add igniter@path:../igniter --yes |
60 | | - working-directory: my_app |
61 | | - - run: mix igniter.install ${{matrix.project.install}} ${{matrix.project.flags}} --yes |
62 | | - working-directory: my_app |
63 | | - - run: mix compile --warnings-as-errors |
64 | | - working-directory: my_app |
| 56 | + - name: ${{matrix.project.test-cmd}} inside ./${{matrix.project.name}} |
| 57 | + run: ${{matrix.project.test-cmd}} |
| 58 | + if: mix ${{matrix.project.test-cmd}} |
| 59 | + working-directory: ./${{matrix.project.name}} |
| 60 | + # - run: mix archive.install hex igniter_new --force |
| 61 | + # if: ${{matrix.project.with}} |
| 62 | + # - run: mix archive.install hex phx_new --force |
| 63 | + # if: ${{matrix.project.with}} |
| 64 | + # - run: mix igniter.new my_app --with ${{matrix.project.with}} |
| 65 | + # if: ${{matrix.project.with}} |
| 66 | + # - run: mix deps.update igniter |
| 67 | + # if: ${{matrix.project.with}} |
| 68 | + # working-directory: my_app |
| 69 | + # - run: mix igniter.add igniter@path:../igniter --yes |
| 70 | + # if: ${{matrix.project.with}} |
| 71 | + # working-directory: my_app |
| 72 | + # - run: mix igniter.install ${{matrix.project.install}} ${{matrix.project.flags}} --yes |
| 73 | + # if: ${{matrix.project.with}} |
| 74 | + # working-directory: my_app |
| 75 | + # - run: mix compile --warnings-as-errors |
| 76 | + # if: ${{matrix.project.with}} |
| 77 | + # working-directory: my_app |
0 commit comments