Skip to content

delete README

delete README #2

Workflow file for this run

name: Python CI Pipeline
on:
push:
branches:
- develop
- main
- feature-dylan
pull_request:
branches:
- develop
- main
workflow_dispatch:
jobs:
python_ci:
runs-on: self-hosted
strategy:
matrix:
python-version: ["3.10"]
steps:
# Check out the repository
- uses: actions/checkout@v3
# Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Install and run pylint
- name: Run pylint
run: |
pip install pylint
pylint --rcfile=.github/workflows/.pylintrc $(git ls-files '*.py')
# Install and run pytest
- name: Run pytest
run: |
pip install pytest
pytest tests/ --disable-warnings