Skip to content

updated readme

updated readme #1

Workflow file for this run

name: Python application
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: windows-latest # Choose 'windows-latest' to align with the Windows dependencies
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
python -m unittest discover -s tests
- name: Run tests and generate coverage report
run: |
coverage run -m unittest discover -s tests
coverage report
coverage xml
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: test-reports