Merge pull request #157 from clayote/master #410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |