department-for-transport-BODS / bods-data-extractor

A python client for downloading and extracting data from the UK Bus Open Data Service
Other
44 stars 8 forks source link

Automatically test new code with GitHub actions (4) #44

Open apartner96 opened 1 year ago

apartner96 commented 1 year ago

PRs into release and main branches should be tested automatically using GitHub actions. This will reduce the need for manual testing by developers, saving time and increasing confidence in the quality and integrity of the code. Impact of this will be high.

This issue should potentially be broken down into smaller chunks - for example:

apartner96 commented 1 year ago

Useful link:

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

lldwork commented 1 year ago

consider additional tests as well including edge cases and asserts

adamakram1 commented 1 year ago

Assign Adam and Emily to help out

adamakram1 commented 1 year ago

Decide what tests are important- Regression Testing- Not interfering with existing functions

adamakram1 commented 1 year ago

Image

adamakram1 commented 1 year ago

Test python files created for Stop level and Service Line level

API Key hidden with Github Secrets

adamakram1 commented 1 year ago

Requirements file fails to install