Skip to content

Scheduled CI Python 3.8.18 Tests #10

Scheduled CI Python 3.8.18 Tests

Scheduled CI Python 3.8.18 Tests #10

name: Scheduled CI Python 3.8.18 Tests
on:
schedule:
- cron: '0 6 * * 1'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.8.18']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: Install package and dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install -r testing_requirements.txt
python -m pip install -e .
- name: Run the unit tests
run: |
coverage run -p -m unittest discover -b tests
coverage combine
coverage xml
- name: Upload test coverage to codecov
uses: codecov/codecov-action@v3
- name: Run the Python linter
run: |
prospector