uktrade/sqlite-s3vfs

View on GitHub
.github/workflows/test.yml

Summary

Maintainability
Test Coverage
name: Test

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:
  test:
    name: Test
    runs-on: ubuntu-22.04
    strategy:
      matrix:
        python-version:
          - "3.7.13"
          - "3.8.12"
          - "3.9.12"
    steps:
      - name: "Checkout"
        uses: "actions/checkout@v3"
      - uses: "actions/setup-python@v4"
        with:
          python-version: '${{ matrix.python-version }}'
      - name: "Start MinIO"
        run: ./start-minio.sh
      - name: "Install package and python dependencies"
        run: |
          pip install .[dev]
      - name: "Test"
        run: |
          pytest --cov
      - uses: codecov/codecov-action@v3