mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
30 lines
No EOL
777 B
YAML
30 lines
No EOL
777 B
YAML
name: integration tests
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * SUN' # run every Sunday at midnight
|
|
jobs:
|
|
test integration:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
python-version: 3.8
|
|
env:
|
|
PY_COLOR: 1
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
- uses: actions/cache@v1
|
|
with:
|
|
path: ~/.cache/pip
|
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-pip-
|
|
- name: Install base dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install tox
|
|
- name: Test with tox
|
|
run: |
|
|
tox -e int |