Skip to content

Commit

Permalink
rebuild test-suite (#14)
Browse files Browse the repository at this point in the history
* test with current action version

* test with current action version

* test with different mariadb versions

* also test with latest mariadb version
  • Loading branch information
hschapitz committed Jun 23, 2024
1 parent c73196e commit b3b9b10
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: [push, pull_request]
on:
pull_request:
push:
branches:
- "master"

jobs:
build:
Expand All @@ -9,6 +13,11 @@ jobs:
strategy:
matrix:
node-version: ['10.x']
mariadb-version:
- 10.4.10
- 10.6
- 11.4
- "latest"

steps:
- uses: actions/checkout@v1
Expand All @@ -18,10 +27,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Set up MariaDB 10
uses: getong/mariadb-action@v1.10
- name: Set up MariaDB ${{ matrix.mariadb-version }}
uses: ./
with:
mariadb version: 10.4.10
mariadb version: ${{ matrix.mariadb-version }}
mysql database: test
mysql root password: ${{ secrets.DatabasePassword }}
- name: npm install, build, and test
Expand Down

0 comments on commit b3b9b10

Please sign in to comment.