DRIVERS-2695 Add a case of CSOT not enabled for the retryable writes. #2772
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |