Skip to content

Merge pull request #2 from rog555/azure-cosmosdb-client #56

Merge pull request #2 from rog555/azure-cosmosdb-client

Merge pull request #2 from rog555/azure-cosmosdb-client #56

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make install-dev
- name: Run checks (linter, code style, tests)
run: make check
env:
AWS_DEFAULT_REGION: us-east-1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true