Skip to content

Bump black from 19.10b0 to 24.3.0 in /requirements #71

Bump black from 19.10b0 to 24.3.0 in /requirements

Bump black from 19.10b0 to 24.3.0 in /requirements #71

Workflow file for this run

name: Build and Test C-3PO
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache Python Dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/common.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
id: install-dependencies
run: |
pip install --upgrade pip
pip install -r requirements/common.txt
pip install -r requirements/dev.txt
- name: Test
id: run-sanity-test
run: sh ./bin/sanity.sh
- name: Notify Slack
uses: act10ns/slack@v1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: failure()