-
Notifications
You must be signed in to change notification settings - Fork 28
48 lines (41 loc) · 1.14 KB
/
jobs.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Jobs
on:
push:
branches:
- master
- develop
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ENVIRONMENT: test
VERBOSE: true
TERM: xterm
BPYUTILS_GEVENT_PATCH: true
PIPUPGRADE_JOBS_GITHUB_USERNAME: ${{ github.actor }}
PIPUPGRADE_JOBS_GITHUB_OAUTH_TOKEN: ${{ secrets.PIPUPGRADE_JOBS_GITHUB_OAUTH_TOKEN }}
jobs:
jobs:
name: Jobs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
interval: [50000, 100000, 150000, 200000, 250000, 300000, 350000]
steps:
- uses: actions/checkout@v2
- name: Show ref
run: |
echo "Checking out $GITHUB_REF..."
- uses: actions/setup-python@v2
name: Set up Python 3.9
with:
python-version: 3.9
- name: Upgrade PIP and packages
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install dependencies
run: |
pip install -r requirements-jobs.txt
python setup.py develop
- name: Run Jobs
run: |
bpyutils --run-jobs pipupgrade.jobs --param "interval=${{ matrix.interval }}; limit=50000"