fix(rdb): use BoolValue type for skip_size_retrieval option in ListDa… #332
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: Pytest-cov | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| pytest-cov: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| lib: | |
| - scaleway-core | |
| - scaleway | |
| - scaleway-async | |
| python-version: [ '3.10' ,'3.11', '3.12', '3.13' ] | |
| defaults: | |
| run: | |
| working-directory: ${{ matrix.lib }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "poetry" | |
| - name: Install dependencies and library | |
| run: poetry install | |
| - name: Run tests with coverage | |
| run: poetry run pytest --cov --junitxml=junit.xml -o junit_family=legacy | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |