feat: add requirements #409
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 | |
- 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" |