Skip to content

Added script to generate content from static website. #5

Added script to generate content from static website.

Added script to generate content from static website. #5

Workflow file for this run

name: Run Unit Tests
on:
push:
branches:
- main
- '**' # Runs on all branches
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
# Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # Specify the Python version
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Run tests with coverage
- name: Run tests
run: |
pytest -v --cov=src/problem_solving_questions --cov-report=xml --cov-report=term tests/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: gsaini/python-getting-started