Update .gitlab-ci.yml file

main
Ferexio 2022-11-23 21:02:46 +00:00
parent 152a64eee7
commit 176af229c7
1 changed files with 25 additions and 0 deletions

25
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,25 @@
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
test:
script:
- python3 -m unittest tests/*