chore!: remove OVMSAdapter #572
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: Pre-Commit Checks | |
| permissions: {} # No permissions by default on workflow level | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| workflow_dispatch: # run on request (no need for PR) | |
| jobs: | |
| Code-Quality-Checks: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: CHECKOUT REPOSITORY | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Set up Node.js | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version: 22 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --locked --all-extras | |
| - name: Run pre-commit checks | |
| run: | | |
| uv run pre-commit run --all-files | |
| Unit-Tests: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: CHECKOUT REPOSITORY | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --locked --extra tests | |
| - name: Run python unit tests | |
| run: | | |
| uv run pytest tests/unit --cov |