Fix a dogtail test using pipes and a wrong temporary file. #37
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
set -e | |
# sudo add-apt-repository universe | |
# sudo apt-cache policy | |
sudo apt-get install -qy python3-ledger tox python3-pytest gobject-introspection | |
# Needed to allow Tox to run in the current env. | |
# Current env necessary because we are installing GTK+ and other | |
# libraries needed for the programs. | |
pip3 install tox-current-env pytest | |
- name: Run tests | |
run: | | |
# pylint $(git ls-files '*.py') | |
tox --current-env -v |