Trying to fix gui testing, cache pip #2
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: test | |
on: | |
push: | |
env: | |
SRC_DIR: zxlive | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ 3.9 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dependecies | |
run: | | |
sudo apt install -y xvfb x11-utils libxkbcommon-x11-0 | |
pip install ".[test]" | |
- name: Flake8 | |
continue-on-error: true | |
run: | |
pflake8 zxlive | |
- name: Pylint | |
continue-on-error: true | |
run: | |
pylint zxlive | |
- name: mypy | |
continue-on-error: true | |
run: | |
mypy zxlive | |
- name: pytest | |
run: | |
pytest |