Skip to content

Commit

Permalink
cpu_rec imported as a module in the portability tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LRGH committed Mar 10, 2024
1 parent b71efb7 commit 94f63f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/portability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
if: ${{ steps.pyver.outputs.pyver == 3 && !(matrix.os == 'macos-latest' && matrix.python-version == 'graalpy-22.3') }}
run: |
python ./cpu_rec.py -v /bin/sh
- name: Use cpu_rec as a python module
run: |
python -c 'from cpu_rec import which_arch; print(which_arch(open("/bin/sh","rb").read()))'
python24:
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit 94f63f9

Please sign in to comment.