Skip to content

Update README.md (#14) #56

Update README.md (#14)

Update README.md (#14) #56

name: Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
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 ShoppingApp/requirements.txt
pip install pytest pytest-cov codecov
- name: Test with pytest
run: |
python -m unittest discover -v