Skip to content

Commit

Permalink
v0.7.5 (#218)
Browse files Browse the repository at this point in the history
* version bump for next release

* Update to use github actions

* added python to actions

* action tweaks

* more tweaks

* Remove global yarn install

* action tweaks

* add some caching

* matrix

* remove x86 for macos

* remove macos

* remove x86

* java 8 derby latest

* some actions tweaks

* tweak some tests
  • Loading branch information
CraZySacX committed Mar 28, 2021
1 parent 69331a6 commit 3b02fa4
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 24 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
on: [push, pull_request]

name: CI

jobs:
node-jdbc:
name: node-jdbc
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
node_version:
- 10
- 12
- 14
- 15
java_version:
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
arch:
- x64
steps:
- name: 🧶 Get yarn cache directory path 🧶
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: 💵 Cache 💵
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node_version }}-yarn-
${{ runner.os }}-yarn-
- name: ☑️ Checkout ☑️
uses: actions/checkout@v2
- name: ☕ Java ☕
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- name: 🐍 Python 🐍
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: 🔋 Node 🔋
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- name: 💾 Install 💾
run: yarn install
- name: 🧪 Test (Node ${{ matrix.node_version }}, Java ${{ matrix.java_version }}) 🧪
run: yarn test
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ quite a few people, so I'm willing to add collaborators to this project who are
message me at jason.g.ozias@gmail.com.

## Latest Version
- 0.7.4
- 0.7.5

## Installation
- Release: ```npm i --save jdbc```
Expand Down
Binary file modified drivers/derby.jar
Binary file not shown.
Binary file modified drivers/derbyclient.jar
Binary file not shown.
Binary file modified drivers/derbynet.jar
Binary file not shown.
Binary file modified drivers/derbyrun.jar
Binary file not shown.
Binary file modified drivers/derbytools.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jdbc",
"version": "0.7.4",
"version": "0.7.5",
"description": "Node Module JDBC wrapper",
"main": "index.js",
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions test/test-statement-adjust.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = {
test.ok(resultset);
resultset.toObjArray(function (err, results) {
test.equal(results.length, 50);
test.equal(results[0].NAME, 'Jason_0');
test.ok(results[0].NAME.startsWith('Jason'));
test.ok(results[0].DATE);
test.ok(results[0].TIME);
test.ok(results[0].TIMESTAMP);
Expand All @@ -122,7 +122,7 @@ module.exports = {
test.ok(resultset);
resultset.toObjArray(function (err, results) {
test.equal(results.length, 10);
test.equal(results[0].NAME, 'Jason_0');
test.ok(results[0].NAME.startsWith('Jason'));
test.done();
});
});
Expand All @@ -146,7 +146,7 @@ module.exports = {
test.ok(resultset);
resultset.toObjArray(function (err, results) {
test.equal(results.length, 50);
test.equal(results[0].NAME, 'Jason_0');
test.ok(results[0].NAME.startsWith('Jason'));
test.done();
});
});
Expand Down

0 comments on commit 3b02fa4

Please sign in to comment.