python/.gitlab-ci.yml

24 lines
491 B
YAML
Raw Normal View History

2022-11-23 22:02:46 +01:00
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install testing.postgresql
pip3 install sqlalchemy
pip3 install pgmock
pip3 install psycopg2
pip3 install unittest
pip3 install pytest
- name: Run tests
2022-11-23 22:03:30 +01:00
run:
python3 -m unittest tests/*