Skip to content

Fixed testing workflow #2

Fixed testing workflow

Fixed testing workflow #2

Workflow file for this run

name: Test manual-pkgs
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:12
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Create and activate virtual environment
run: |
python3 -m venv venv
source venv/bin/activate
echo "source venv/bin/activate" >> $GITHUB_ENV
- name: Install dependencies
run: |
source venv/bin/activate
pip install --upgrade pip
pip install pytest pytest-cov
- name: Run Tests
run: |
source venv/bin/activate
pytest --cov=get_manual_pkgs --cov-report=term-missing tests