name: Run Tests
on: [pull_request]
jobs:
build:
name: Setup and run Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8.9'
- run: |
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar xvfz ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure
make
sudo make install
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements.txt
- run: python mainsite/manage.py test