version: 2.1
orbs:
python: circleci/python@0.2.1
win: circleci/windows@2.2.0
jobs:
Integration-on-linux:
executor: python/default
steps:
- checkout
- run:
name: Install Python dependencies and postgresql installation
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
sudo apt install -y postgresql-client || true
sudo apt install postgresql
- run:
name: Integrate IsaTAB.sql into the database
command: |
psql -c "create database Isatab_DB" -U postgres -h localhost -p 5432
psql -f AutoFlow-OmicsDataHandling/IsaTab.sql Isatab_DB
I am using this configuration but it's not working properly, can someone please help me with this.
question from:
https://stackoverflow.com/questions/65866862/trying-to-setup-postgres-with-circleci-but-not-working-properly 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…