Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit b56c398

Browse files
Pass tests. README Badge.
1 parent a06fd28 commit b56c398

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

‎.github/workflows/test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: CI/CD
1+
name: Test
22
on: [push]
33
jobs:
4-
cicd:
4+
test:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout
@@ -12,7 +12,12 @@ jobs:
1212
- name: Setup
1313
run: |
1414
./bin/setup
15-
- name: Test
15+
- name: Build
16+
run: |
17+
./bin/build
18+
- name: Test 2.5
1619
run: |
1720
./bin/test 2.5
21+
- name: Test 2.7
22+
run: |
1823
./bin/test 2.7

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
[![Test](https://github.com/customink/mysql2-lambda/actions/workflows/test.yml/badge.svg)](https://github.com/customink/mysql2-lambda/actions/workflows/test.yml)
3+
24
# Mysql2 Lambda Gem
35

46
<a href="https://github.com/customink/lamby"><img src="https://user-images.githubusercontent.com/2381/59363668-89edeb80-8d03-11e9-9985-2ce14361b7e3.png" alt="Lamby: Simple Rails & AWS Lambda Integration using Rack." align="right" width="300" /></a>Very simple [Mysql2](https://github.com/brianmario/mysql2) gem precompiled for Amazon Linux 1 & 2 (Ruby 2.5 & 2.7) with statically linked `libmysqlclient` ready for any AWS Lambda usage, including Rails.

‎bin/_test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ MYSQL_GEM_FILE="mysql2-lambda-${MYSQL_GEM_VERSION}.gem"
99
echo "Installing ${MYSQL_GEM_FILE} file..."
1010
gem install --local "$MYSQL_GEM_FILE"
1111

12+
sleep 10
1213
ruby ./bin/_test-mysql2.rb

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /