Skip to content

DRIVERS-2926 BSON Binary Vector Subtype Support #3693

DRIVERS-2926 BSON Binary Vector Subtype Support

DRIVERS-2926 BSON Binary Vector Subtype Support #3693

name: Check if all JSON test files are up-to-date
on:
push:
branches: [master]
pull_request: ~
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up npm
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: |
npm install -g js-yaml
pip3 install pymongo pyyaml jinja2
- name: Regenerate JSON test files
run: |
python3 ./source/server-discovery-and-monitoring/tests/errors/generate-error-tests.py
python3 ./source/client-side-encryption/etc/generate-corpus.py ./source/client-side-encryption/corpus
python3 ./source/client-side-encryption/etc/generate-test.py ./source/client-side-encryption/etc/test-templates/*.template ./source/client-side-encryption/tests/legacy
python3 ./source/client-side-operations-timeout/etc/generate-basic-tests.py ./source/client-side-operations-timeout/etc/templates ./source/client-side-operations-timeout/tests
python3 ./source/etc/generate-handshakeError-tests.py
cd source && make && git diff --exit-code