Skip to content

Change the attachment request to pass a file handle rather than reading in the bytes #258

Change the attachment request to pass a file handle rather than reading in the bytes

Change the attachment request to pass a file handle rather than reading in the bytes #258

Workflow file for this run

on: pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Run linting and formatting checks
run: make lint
unit-tests:
name: Unit Tests
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: make install
- name: Run kinto
run: make run-kinto & sleep 5
- name: Run unit tests
run: make test