Skip to content

Merge pull request #2 from Pshah2023/Pshah2023-patch-1 #8

Merge pull request #2 from Pshah2023/Pshah2023-patch-1

Merge pull request #2 from Pshah2023/Pshah2023-patch-1 #8

Workflow file for this run

name: Pylint, Pytest, and PyPI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
continue-on-error: true
- name: actions-pytest
uses: xoviat/actions-pytest@0.1-alpha2
with:
args: ./tuneease
continue-on-error: true
- name: Try pip installation
run: |
pip install -e .
continue-on-error: true
- name: Memory_Profiler
run: |
pip install memory_profiler
python -m memory_profiler ./tuneease/tests/memory.py
continue-on-error: true