Commit Graph

8 Commits

Author SHA1 Message Date
Matteo Pagliazzi c93bf3e498 MongoDB Transactions (#12335)
* add run-rs to dependencies

* wip: add replica set to api unit github action

* wip: add replica set to api unit github action

* wip: fix gh actions mongodb replica set setting

* usa replica set for integration tests

* add correct mongodb version matrix for integration tests

* use different db connection on gh actions

* Revert "use different db connection on gh actions"

This reverts commit aa8db759d3.

* add example transaction

* add mongo script to package.json

* abstract mongodb utils, connect using hostname on windows

* npm scripts: mongo -> mongo:dev

* add setup script for run-rs on windows

* gh actions: run in test environment

* remove test files

* better error handling, use cross-spawn to avoid issues on windows

* fix lint
2020-07-14 18:55:47 +02:00
Matteo Pagliazzi a44aef3d9f MongoDB 4.2 (#12331)
* use mongodb 4.2 in github actions

* use .countDocuments in place of .count
2020-06-25 16:50:57 +02:00
Matteo Pagliazzi 9afcf8d5eb fix(build): do not lint when testing on github 2019-10-22 20:38:01 +02:00
Matteo Pagliazzi 743faa8eca Enable Github Actions in place of Travis (#11447)
* add apidoc

* rename, copy config

* add client unit tests

* add more tests

* fix client tests

* fix client tests

* add api tests

* fix names

* remove travis

* enable github actions on pull requests

* shallow clone

* add badge
2019-10-19 17:32:14 +02:00
Matteo Pagliazzi dd0634d777 add lint workflow 2019-10-19 16:25:04 +02:00
Matteo Pagliazzi 102cca36e5 Start enabling Github Actions 2019-10-19 16:03:01 +02:00
Matteo Pagliazzi 326ec5c0e3 repo(gh actions): disable 2019-09-21 10:57:24 +02:00
Matteo Pagliazzi b4ee784cf3 Initial Github Action 2019-09-20 23:50:48 +02:00