Skip to content

Update entrypoint script #45

Update entrypoint script

Update entrypoint script #45

name: Coverage above 95
on:
push:
branches: [ "main" ]
paths-ignore:
- '**/README.md'
permissions:
contents: read
env:
service_name: itsanapi
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Run tests
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
coverage run manage.py test api
coverage report --fail-under=95