Skip to content

deps: bump bcrypt from 4.0.1 to 4.3.0 in /backend #53

deps: bump bcrypt from 4.0.1 to 4.3.0 in /backend

deps: bump bcrypt from 4.0.1 to 4.3.0 in /backend #53

Workflow file for this run

name: Run Tests
on:
pull_request:
branches: [ main, master, feature/*]
push:
branches: [ main, master ]
jobs:
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd backend
pip install -r requirements.txt
- name: Run tests
run: |
cd $GITHUB_WORKSPACE
export PYTHONPATH=$GITHUB_WORKSPACE:$GITHUB_WORKSPACE/backend
pytest --cov=./backend --cov-report=xml:coverage.xml backend/tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true