Refactor timeseriesservice #176
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
| # This workflow ensures that the code is tested and meets quality standards on every push and pull request | |
| name: Tests | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install project | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Run tests | |
| run: pytest | |
| - name: Check code quality | |
| run: ruff check . | |
| - name: Check code formatting | |
| run: ruff format --check . | |