Skip to content

requirements.txt updated #39

requirements.txt updated

requirements.txt updated #39

Workflow file for this run

name: Pylint
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing the code with pylint
run: |
pylint --fail-under=9 $(git ls-files 'gym_trading/*.py')
- name: Run Tests
run: |
python -m unittest