Fix errors in train.py & modelling.py; add ability to track multiple metrics at once #25
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Test Library Code | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| run-full-tests-suit: | |
| runs-on: ubuntu-latest | |
| env: | |
| OS: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.8' | |
| cache: 'pip' # caching pip dependencies | |
| - run: pip install -r requirements.txt | |
| - run: pip install -e . | |
| - run: pip install coverage[toml] | |
| - name: Run Tests | |
| run: coverage run --omit=*/preparation -m unittest discover -s tests -p "test_*.py" | |
| - name: Upload Coverage to Codecov | |
| uses: codecov/codecov-action@v2 |