diff --git a/.github/workflows/deptry.yml b/.github/workflows/deptry.yml new file mode 100644 index 0000000..99c4900 --- /dev/null +++ b/.github/workflows/deptry.yml @@ -0,0 +1,17 @@ +name: Deptry Dependency Check + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # Setup the minimum required python distribution + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + # Install deptry + - run: pip install deptry + # Run deptry to check that all dependencies are present. + - run: deptry . diff --git a/README.md b/README.md index 3ad7bd2..6be8582 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,6 @@ This repository contains a script and schema to generate a database storing faul - qcore - sqlite3 -## Setting up development environment - -Use [Poetry](https://python-poetry.org/) to setup and manage the virtual enviroment. From within the repo run - -```bash -$ poetry lock && poetry install -``` - -This will install all the dependencies required for development. To start a virtual environment run - -```bash -$ poetry shell -``` - -To integrate with PyCharm (if you use it) see [PyCharm's Documentation](https://www.jetbrains.com/help/pycharm/poetry.html#poetry-pyproject) - - ## Generate your own database 1. Obtain the CRU fault system solution (ask a member of the software team for this file). It should be a zip file with the following structure ```