-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 1.03 KB
/
heavy-weekly.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: heavy-weekly
on:
schedule:
- cron: '0 0 * * *' # Runs daily at 00:00 UTC
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
test-pypi:
runs-on: ubuntu-latest
steps:
- name: Upgrade pip
run: python3 -m pip install pip --upgrade
- name: Install hstrat
run: python3 -m pip install hstrat
- name: Test
run: python3 -c "import hstrat; print(hstrat.__version__)"
test-semiheavy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.10" # why? 3.10 runs tests 2x faster than 3.11
- name: Install dependencies
run: |
sudo sed -i 's/azure\.//' /etc/apt/sources.list
sudo apt-get update -o Acquire::Retries=3
sudo apt-get install -y ffmpeg -o Acquire::Retries=3
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox -e semiheavy