Skip to content

Update pypa/gh-action-pypi-publish action to v1.11.0 #1943

Update pypa/gh-action-pypi-publish action to v1.11.0

Update pypa/gh-action-pypi-publish action to v1.11.0 #1943

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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