Files
CTFd/.github/workflows/lint.yml
Kevin Chung 0c43e2dd0a Seperate out postgres tests and clarify postgres support (#1494)
* Clarifies the position on supporting Postgres and removes Postgres from the main test suite
* Closes #973
2020-06-17 03:14:47 -04:00

34 lines
697 B
YAML

---
name: Linting
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6']
TESTING_DATABASE_URL: ['sqlite://']
name: Linting
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r development.txt
sudo yarn install --non-interactive
sudo yarn global add prettier@1.17.0
- name: Lint
run: make lint