Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
and Build and test.yml
  • Loading branch information
romanmazeev committed Jan 8, 2024
1 parent f0b44ab commit 09cbe19
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/Build and test framework.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/Build and test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-13

steps:
- uses: actions/checkout@v3
- name: Run tests
run: swift test --enable-code-coverage

- name: Test coverage
uses: maxep/spm-lcov-action@0.3.0
with:
output-file: ./coverage/lcov.info
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZParser/blob/master/Package.swift)
[![Build and test](https://github.com/romanmazeev/MRZScanner/actions/workflows/Build%20and%20test.yml/badge.svg)](https://github.com/romanmazeev/MRZScanner/actions/workflows/Build%20and%20test.yml)
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZScanner/blob/master/Package.swift)

# MRZScanner
Library for scanning documents via [MRZ](https://en.wikipedia.org/wiki/Machine-readable_passport) using [ Vision API](https://developer.apple.com/documentation/vision/vnrecognizetextrequest).
Expand Down

0 comments on commit 09cbe19

Please sign in to comment.