Brushed up the style (back to original) #447
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Test python API | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Update pip | |
| run: python -m pip install --upgrade pip | |
| - name: Install requirements | |
| run: pip install -r requirements.txt | |
| - name: Install pytest-cov | |
| run: pip install pytest-cov | |
| - name: Run tests and collect coverage | |
| run: pytest --cov=bamt -s tests | |
| - name: Upload coverage reports to Codecov with GitHub Action | |
| uses: codecov/codecov-action@v3 |