docs(mimic-iv): table notes for race, OMR units, and d_labitems #197
Workflow file for this run
This file contains hidden or 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: transpile checks | |
| on: | |
| - pull_request | |
| jobs: | |
| # Unit tests for the transpiler. | |
| unit-tests: | |
| name: Transpile unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install locked dependencies | |
| run: pip install -r requirements-lock.txt | |
| - name: Install package | |
| run: pip install -e . --no-deps | |
| - name: Run transpiler unit tests | |
| run: pytest tests/test_transpile.py -q | |
| generated-up-to-date: | |
| name: Check cross-dialect concepts match BQ | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| checks: write | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Install locked dependencies | |
| run: pip install -r requirements-lock.txt | |
| - name: Install package | |
| run: pip install -e . --no-deps | |
| - uses: ./.github/actions/transpile-concepts | |
| with: | |
| dialect: postgres | |
| - uses: ./.github/actions/transpile-concepts | |
| with: | |
| dialect: duckdb | |
| - uses: ./.github/actions/transpile-concepts | |
| with: | |
| dialect: postgres | |
| project: mimic-iii | |
| - uses: ./.github/actions/transpile-concepts | |
| with: | |
| dialect: duckdb | |
| project: mimic-iii | |
| - uses: ./.github/actions/check-concepts-up-to-date | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| paths: >- | |
| mimic-iv/concepts_postgres mimic-iv/concepts_duckdb | |
| mimic-iii/concepts_postgres mimic-iii/concepts_duckdb |