Skip to content

Commit

Permalink
Add matix to test against multiple recent versions of Crystal
Browse files Browse the repository at this point in the history
  • Loading branch information
OldhamMade committed May 20, 2021
1 parent a413e74 commit f7d2a36
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
37 changes: 32 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@ on: push

jobs:
review:
name: Run static analysis of source code
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
crystal_version:
- 0.36.1
- latest
experimental: [false]
include:
- crystal_version: nightly
experimental: true

name: "Run analysis [crystal ${{matrix.crystal_version}}]"

continue-on-error: ${{ matrix.experimental }}

container:
image: crystallang/crystal:latest
image: crystallang/crystal:${{matrix.crystal_version}}

steps:
- name: "[Git] Checkout code"
Expand All @@ -29,12 +43,25 @@ jobs:
./bin/ameba -c .ameba.yml
test:
name: Run tests using crystallang/crystal:latest
runs-on: ubuntu-latest
needs: review

strategy:
fail-fast: false
matrix:
crystal_version:
- 0.36.1
- latest
experimental: [false]
include:
- crystal_version: nightly
experimental: true

name: "Run tests [crystal ${{matrix.crystal_version}}]"

continue-on-error: ${{ matrix.experimental }}

container:
image: crystallang/crystal:latest
image: crystallang/crystal:${{matrix.crystal_version}}

steps:
- name: "[Git] Checkout code"
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: awscr-s3
version: 0.8.2
version: 0.8.3

crystal: ">= 0.32.0, < 2.0.0"
crystal: ">= 0.36.1, < 2.0.0"

description: |
A Crystal shard for S3 and compatible services.
Expand Down

0 comments on commit f7d2a36

Please sign in to comment.