nutanix / libvfio-user

framework for emulating devices in userspace
BSD 3-Clause "New" or "Revised" License
164 stars 51 forks source link

More Distros for Pull-Request Workflow #765

Closed gierens closed 1 year ago

gierens commented 1 year ago

This does three things:

  1. As suggested in #761 this adds a job for Arch Linux (base 20230723.0.166908), but since I was already at it also Debian 11 bullseye and Debian 12 bookworm, to the pull request workflow.

  2. During testing I stumbled across a linting error thrown by the newer flake8 version in the Arch job, see Screenshot from 2023-08-15 16-06-34 I altered the mentioned equality checks in test/py/libvfio_user.py to fix this.

  3. It also bumps the version of Github Actions to v3 in all workflows. v2 will apparently be deprecated over the summer, see https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ and Screenshot from 2023-08-15 16-36-55

I already tested this on my own runner, see https://github.com/gierens/libvfio-user/actions/runs/5868047364 or Screenshot from 2023-08-15 16-35-27 seems to work. I'm also a bit surprised how fast the arch job is.

jlevon commented 1 year ago

thanks! Could you also add these to required status checks in settings.yml?