Add a 'y' command to copy focused query to clipboard #748
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: "3.8" | |
psycopg: "psycopg2" | |
- python: "3.12" | |
psycopg: "psycopg3" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: pip install tox | |
- name: Add fr_FR and zh_TW for test purposes | |
run: | | |
sudo locale-gen fr_FR zh_TW.EUC-TW | |
sudo update-locale | |
- name: Install dependencies for Pyperclip | |
run: sudo apt-get -y install --no-install-recommends xsel | |
- name: Test | |
run: DISPLAY=:0 tox -e py-${{ matrix.psycopg }} |