Skip to content

Merge branch 'main' of https://github.com/chrispydizzle/png2pptx #3

Merge branch 'main' of https://github.com/chrispydizzle/png2pptx

Merge branch 'main' of https://github.com/chrispydizzle/png2pptx #3

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Tesseract
run: |
sudo apt-get update
sudo apt-get install -y tesseract-ocr
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Run tests
run: pytest -q
package:
runs-on: ubuntu-latest
needs: test
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Build distribution artifacts
run: |
python -m pip install --upgrade pip build
python -m build