feat: update requirements.txt #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Python build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build-python-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install platform dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y libpq-dev libffi-dev libssl-dev libkrb5-dev zlib1g-dev | |
- name: Install Python dependencies | |
run: make install-python | |
- name: Check the Python wheel build | |
run: | | |
. venv/bin/activate | |
make pip | |
- name: Archive Python wheel | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pgadmin4-python-build-output | |
path: dist/* |