Skip to content

Update abstra-lib

Update abstra-lib #220

Workflow file for this run

name: Code check
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
code_check:
runs-on: ubuntu-latest
env:
ENV: test
strategy:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r requirements-tests.txt
- name: Lint
run: |
black --check ./abstra
- name: Run Unit Tests
run: pytest