mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-26 05:40:19 +00:00
ab516956b3
* GitHub Actions: python-version: [3.7, 3.8, 3.9, "3.10", 3.11] * Update nightly.yml * Update update-site-list.yml * Python 3.7 thru 3.11
27 lines
730 B
YAML
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:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
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
|