Merge pull request #17 from openwurl/ddb-batch-get #73
This file contains 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: Tests for boto3-helpers | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-beta.4"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip . | |
- name: Static checks | |
if: "matrix.python-version == '3.9'" | |
run: | | |
python -m pip install -U black flake8 | |
make check | |
- name: Run unit tests | |
run: | | |
python -m pip install -U coverage | |
make coverage | |
- name: Build docs | |
if: "matrix.python-version == '3.9'" | |
run: | | |
python -m pip install -U sphinx | |
make docs | |
- name: Build package | |
if: "matrix.python-version == '3.9'" | |
run: | | |
python -m pip install -U twine wheel | |
make package |