Skip to content

Merge pull request #5 from Immutableai/readme #1

Merge pull request #5 from Immutableai/readme

Merge pull request #5 from Immutableai/readme #1

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
env:
TESTING: ${{ secrets.TESTING }}
BASE_METEX_API_URL: ${{ secrets.BASE_METEX_API_URL }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DB_SRV: ${{ secrets.DB_SRV }}
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: lint
run: black --check .
- name: Run tests
run: |
python -m pytest