Update dependency pytype to v2023.10.17 #1505
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, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9, '3.10', 3.11, 3.12] | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: test | |
run: | | |
sudo apt-get update && sudo apt-get install python3-dev && \ | |
sudo pip3 install -U -r test-requirements.txt -r requirements.txt && \ | |
PYFILES=$(find . -type f -name \*py|sort) && \ | |
PYTHONPATH=. pylint -E ${PYFILES} && pytype -P. -k . && \ | |
sudo pip3 install . && \ | |
coverage run --source=desidulate -m unittest discover tests && \ | |
coverage report -m | |
- name: e2e_test | |
run: | | |
if [ ./tests/e2e.sh http://www.hvsc.c64.org/download/C64Music/MUSICIANS/H/Hubbard_Rob/Commando.sid test1 test2 ] ; then chmod a-w test2 && rsync -ic test1/* test2/ ; else exit 0 ; fi |