Skip to content

Commit afec011

Browse files
authored
Merge pull request #2 from nhsengland/sh_update_readme_add_ci
Updated readme, changed to pyprojecttoml and added ci
2 parents 66caf78 + 043bc53 commit afec011

53 files changed

Lines changed: 88 additions & 4750 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

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

.flake8

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

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
workflow_dispatch:
10+
jobs:
11+
ci-pipeline:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.10'
18+
cache: 'pip'
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install .
23+
- name: Running pytest
24+
id: pytest
25+
run: |
26+
python -m pytest
27+
- name: Test build package
28+
run: python -m build

.travis.yml

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

MANIFEST.in

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

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# National Reusable Code Library 🌍
2+
[![CI](https://github.com/nhsengland/reusable-code-library/actions/workflows/ci.yml/badge.svg)](https://github.com/nhsengland/reusable-code-library/actions/workflows/ci.yml)
3+
![Static Badge](https://img.shields.io/badge/status-development-blue) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
4+
[![Code Standard: RAP](https://img.shields.io/badge/code%20standard-RAP-000099.svg)](https://nhsdigital.github.io/rap-community-of-practice/)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
26

37
## What is the `National Reusable Code Library`?
48

codonPython/ODS_lookup.py

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

codonPython/SQL_connections.py

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

codonPython/age_bands.py

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

0 commit comments

Comments
 (0)