From 2042bbf760691dab902c2464d4fd5778f72b731e Mon Sep 17 00:00:00 2001 From: pylover Date: Wed, 21 Aug 2024 22:32:18 +0330 Subject: [PATCH] Migrated to python-makelib > 1.1.0 --- .github/workflows/build.yml | 14 +++++++++++++- .github/workflows/deploy.yml | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 856e5a6..ed00283 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,18 @@ jobs: FLAKE8: flake8 PYTEST: pytest COVERAGE: coverage + services: + postgres: + image: postgres + env: + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 steps: - name: Checkout code uses: actions/checkout@v4 @@ -30,7 +42,7 @@ jobs: - name: Install dependencies run: | git clone https://github.com/pylover/python-makelib.git make - make env ENV=ci + make install-common editable-install sudo cp `which bddcli-bootstrapper` /usr/local/bin - name: Lint run: make lint diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 62e3512..cf95e43 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: - name: Install dependencies run: | git clone https://github.com/pylover/python-makelib.git make - make env ENV=ci + make install-common editable-install - name: Create distributions run: make dist - name: Publish a Python distribution to PyPI