github actions で
...
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-latest
...
とすれば MacOS を使って動かせるので、テストになって嬉しい