Skip to content

Commit 8fe36b6

Browse files
committed
Update README.md
and Build and test.yml
1 parent f0b44ab commit 8fe36b6

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

.github/workflows/Build and test framework.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/Build and test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-13
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Build and test
17+
- run: swift test --enable-test-discovery --enable-code-coverage
18+
- uses: mattpolzin/swift-codecov-action@0.7.5
19+
with:
20+
MINIMUM_COVERAGE: 98
21+
INCLUDE_TESTS: 'true'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZParser/blob/master/Package.swift)
1+
[![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)
2+
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZScanner/blob/master/Package.swift)
23

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

0 commit comments

Comments
 (0)