Skip to content

Commit

Permalink
Bump stripe-mock (#779)
Browse files Browse the repository at this point in the history
* Bump stripe-mock

* expand test matrix

* skip stripe mock run
  • Loading branch information
snewcomer committed Jan 14, 2023
1 parent 0d9e435 commit 7297210
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ jobs:
test:
env:
MIX_ENV: test
STRIPE_MOCK_VERSION: 0.123.0
STRIPE_MOCK_VERSION: 0.144.0
STRIPE_SECRET_KEY: non_empty_string
SKIP_STRIPE_MOCK_RUN: true
runs-on: ubuntu-20.04
name: Test (OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}})
strategy:
matrix:
elixir: ['1.12']
elixir: ['1.12', '1.13', '1.14']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [24]
otp: [22, 23, 24]
exclude:
- elixir: '1.14'
otp: 22
services:
stripe-mock:
image: stripe/stripe-mock:v0.123.0
image: stripe/stripe-mock:v0.144.0
ports:
- 12111:12111
- 12112:12112
Expand All @@ -45,14 +48,12 @@ jobs:
name: Linting
strategy:
matrix:
elixir: ['1.14', '1.13', '1.12', '1.11']
elixir: ['1.14', '1.13', '1.12']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [24, 23, 22]
exclude:
- elixir: '1.14'
otp: 22
- elixir: '1.11'
otp: 24
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
LATEST_STRIPE_SDK_TAG: ${{ needs.check.outputs.latest_tag }}
OTP_VERSION: "25.0"
ELIXIR_VERSION: "1.14.0"
SKIP_STRIPE_MOCK_RUN: true

strategy:
fail-fast: false
Expand Down

0 comments on commit 7297210

Please sign in to comment.