-
Notifications
You must be signed in to change notification settings - Fork 28
41 lines (36 loc) · 964 Bytes
/
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
name: Jobs
on:
push:
branches:
- master
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
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