From 88341691616040f8a276ff895a816bfede6122a1 Mon Sep 17 00:00:00 2001 From: Alex Carmel Date: Thu, 24 Oct 2024 17:56:32 -0400 Subject: [PATCH] try to add unit test badge --- README.rst | 2 ++ tests/.gitattributes | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 756b5ae..26cb94c 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,8 @@ hl7lw: A Lightweight Hl7 2.x Parsing Library ============================================ +[![Test-Status](https://github.com/acv/hl7lw/actions/workflows/python-app.yml/badge.svg?branch=main)](https://github.com/acv/hl7lw/actions/workflows/python-app.yml) + The hl7lw library aims to provide an extremely simple and lightweight API to read, modify, and write HL7 2.x messages. Minimal processing is done to the messages and most data access should feel very natural and diff --git a/tests/.gitattributes b/tests/.gitattributes index 4b94c23..3add4a1 100644 --- a/tests/.gitattributes +++ b/tests/.gitattributes @@ -1 +1,5 @@ +# For ease of dev, we use CRLF line ending as segment terminator on the HL7 +# sample message. I (acv) code on windows but the github test runner run on +# Linux and checkout was converting CRLF to LF and thus segment endings got +# nuked. This will force CRLF so the CRs get retained on Linux test runners. *.hl7 text eol=crlf \ No newline at end of file