Skip to content

Merge branch 'main' of https://github.com/TheBeetles/PolliNation #48

Merge branch 'main' of https://github.com/TheBeetles/PolliNation

Merge branch 'main' of https://github.com/TheBeetles/PolliNation #48

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
unit:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pipenv'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --system
- name: Start docker containers tests and run unit tests
run: docker compose -f ../docker-compose.test.yml up -d