Skip to content

Commit

Permalink
Merge pull request #13 from stweil/ci
Browse files Browse the repository at this point in the history
Add GitHub action for CI
  • Loading branch information
kba authored Apr 15, 2024
2 parents 45d5dcd + 0dca961 commit 6f5e7c2
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Simple CI test for ocrd_froc.

name: CI tests

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

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
python-version:
# - '3.7'
- '3.8'
- '3.9'
# - '3.10'
# - '3.11'
os:
- ubuntu-22.04
# - macos-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and test
run: |
# Install and test.
set -x
python3 -m venv venv
source venv/bin/activate
pip install -U pip setuptools wheel
pip install -r requirements.txt
pip install .
ocrd-froc-recognize --help

0 comments on commit 6f5e7c2

Please sign in to comment.