Skip to content

[WIP] feat: add Dockerized testing #2

[WIP] feat: add Dockerized testing

[WIP] feat: add Dockerized testing #2

name: dockerized-test
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: ['3.1', '3.2', '3.3']
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Build the lib
run: make build
- name: Build the image
run: docker build . -t local/test -f Dockerfile.test --build-arg BASE_IMAGE=public.ecr.aws/lambda/ruby:${{ matrix.ruby_version }}