sherlock/.github/workflows/nightly.yml
Aliaksei Urbanski 7907f57d57 Enable testing against Python 3.12 on CI
These changes also:
  * bump actions/checkout from v3 to v4
  * bump actions/setup-python from v4 to v5
  * fix compatibility with ruff 0.1.x
2023-12-13 00:08:25 +03:00

27 lines
730 B
YAML

name: Nightly
on:
schedule:
# Run Nightly Tests At 3AM (The Hour Of The Wolf) Every Day
- cron: '0 3 * * *'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.x]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Sherlock Site Coverage Tests
run: |
cd sherlock && python -m unittest tests.all.SherlockSiteCoverageTests --verbose