Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-based tests run via GitHub Actions #233

Merged
merged 4 commits into from
Dec 31, 2020
Merged

Conversation

kibertoad
Copy link
Collaborator

@kibertoad kibertoad commented Dec 30, 2020

Replaced Travis CI with GitHub Actions, as they are faster, more convenient and more reliable.
fixes #232

version: '3'
services:
solr:
image: solr:5.5.5
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanted to get it running on the closest version to what we were running it before, and start upgrading later.

https = require('https'),
SolrError = require('./error/solr-error'),
JSONbig = require('json-bigint');

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extracted part of solr.js so that it could be reused elsewhere (in my cases, in schemaHelper)

@@ -3,6 +3,6 @@
"host": "127.0.0.1",
"port": 8983,
"path": "/solr",
"core": null
"core": "testcore"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was failing on a newer Solr with 404 error, but worked after I added explicit core. Since this doesn't affect lib implementation per se, this isn't a breaking change.


describe('Client#createQuery',function(){

before((cb) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we can't easily load schema.xml into Docker-based Solr, create necessary fields by hand.

@kibertoad
Copy link
Collaborator Author

I'm going to merge this request and several subsequent non-controversial ones to keep the momentum going, but please feel free to post your comments and requests for changes retroactively, I'd be happy to address them at any point.

@kibertoad kibertoad merged commit 1d30e55 into master Dec 31, 2020
@kibertoad kibertoad deleted the feature/docker-tests branch December 31, 2020 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker-based tests
1 participant