Skip to content

Diya-0816/.github-workflows-test.yml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

.github-workflows-test.yml

name: Run Tests

on: [push, pull_request]

jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3

  - name: Set up Python
    uses: actions/setup-python@v4
    with:
      python-version: "3.9"

  - name: Install dependencies
    run: |
      python -m venv venv
      source venv/bin/activate
      pip install -r requirements.txt

  - name: Run pylint
    run: |
      source venv/bin/activate
      pylint calculator/

  - name: Run pytest
    run: |
      source venv/bin/activate
      pytest --cov=calculator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors