delete README #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |