Skip to content

Bump prospector from 1.11.0 to 1.13.3 in /requirements #5134

Bump prospector from 1.11.0 to 1.13.3 in /requirements

Bump prospector from 1.11.0 to 1.13.3 in /requirements #5134

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.x' ]
node-version: [ '12' ]
tox-env: ['py3-cov', 'lint']
services:
postgres:
image: postgres:latest
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
npm ci
npm install gulp-cli
- name: Gulp build
run: |
node_modules/.bin/gulp build
- name: Test with tox ${{ matrix.tox-env }}
run: |
tox -e ${{ matrix.tox-env }}
env:
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: postgres
DB_HOST: localhost
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}