Skip to content

Merge pull request #10 from aws-samples/mohbish-patch-2 #8

Merge pull request #10 from aws-samples/mohbish-patch-2

Merge pull request #10 from aws-samples/mohbish-patch-2 #8

Workflow file for this run

name: Unit Tests
permissions:
contents: read
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.14.2']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: Run unit tests with pytest
run: |
pytest --cov=Lib --cov=Glue --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false