Skip to content

Commit

Permalink
Revert back to non-shared matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
paupino committed Apr 13, 2024
1 parent 302b3fe commit 3fcd234
Showing 1 changed file with 40 additions and 7 deletions.
47 changes: 40 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:

name: CI

env:
MATRIX_CONFIG: '[{"name": "stable", "rust": "stable"}, {"name": "beta", "rust": "beta"}]'

jobs:
ci:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,8 +111,17 @@ jobs:
name: "Standard Tests"
runs-on: ubuntu-latest
strategy:
# There doesn't seem to be a way to share the matrix between jobs
matrix:
include: ${{fromJson(env.MATRIX_CONFIG)}}
name:
- stable
- beta
include:
# This allows us to define targets in the future (e.g. wasm32-unknown-unknown)
- name: stable
rust: stable
- name: beta
rust: beta
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -160,8 +166,17 @@ jobs:
name: "Dependency Tests"
runs-on: ubuntu-latest
strategy:
# There doesn't seem to be a way to share the matrix between jobs
matrix:
include: ${{fromJson(env.MATRIX_CONFIG)}}
name:
- stable
- beta
include:
# This allows us to define targets in the future (e.g. wasm32-unknown-unknown)
- name: stable
rust: stable
- name: beta
rust: beta
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -200,8 +215,17 @@ jobs:
name: "Database Tests - PostgreSQL"
runs-on: ubuntu-latest
strategy:
# There doesn't seem to be a way to share the matrix between jobs
matrix:
include: ${{fromJson(env.MATRIX_CONFIG)}}
name:
- stable
- beta
include:
# This allows us to define targets in the future (e.g. wasm32-unknown-unknown)
- name: stable
rust: stable
- name: beta
rust: beta
services:
postgres:
image: postgres:11.6
Expand Down Expand Up @@ -234,8 +258,17 @@ jobs:
name: "Database Tests - MySQL"
runs-on: ubuntu-latest
strategy:
# There doesn't seem to be a way to share the matrix between jobs
matrix:
include: ${{fromJson(env.MATRIX_CONFIG)}}
name:
- stable
- beta
include:
# This allows us to define targets in the future (e.g. wasm32-unknown-unknown)
- name: stable
rust: stable
- name: beta
rust: beta
services:
mysql:
image: mysql:8
Expand Down

0 comments on commit 3fcd234

Please # to comment.