Skip to content

Commit

Permalink
Merge pull request #3 from ucgmsim/deptry_action
Browse files Browse the repository at this point in the history
Deptry Action
  • Loading branch information
lispandfound committed Jun 6, 2024
2 parents eb10cbe + 64603f1 commit b847676
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deptry.yml
Original file line number Diff line number Diff line change
@@ -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 .
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit b847676

Please sign in to comment.