Skip to content

fix: naas_credits.py #808

fix: naas_credits.py

fix: naas_credits.py #808

Workflow file for this run

name: Pull request validation
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.8'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -e '.[dev]'
- name: Run tests and linters
run: |
python3 -m black naas_drivers
python3 -m flake8 naas_drivers
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}