Skip to content

Back to development: 2.9 #103

Back to development: 2.9

Back to development: 2.9 #103

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Validation
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Format
run: |
black --check archon_bot tests
- name: Lint
run: |
flake8
- name: Test
run: |
pytest