Make pecos.xmr importable and add unit test (#301) #552
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: Python Unit Tests aarch64 | |
on: [push, pull_request] | |
jobs: | |
Ubuntu-Python-Unit-Test: | |
name: Ubuntu 22.04 Python3.10 Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: all | |
- name: Check QEMU Simulator | |
uses: docker://arm64v8/ubuntu:22.04 | |
with: | |
args: 'uname -a' | |
- name: Install dependencies and Pytest | |
uses: docker://arm64v8/ubuntu:22.04 | |
with: | |
args: > | |
bash -c | |
"apt-get update && | |
apt-get install -y build-essential git python3 python3-distutils libopenblas-dev wget && | |
wget https://bootstrap.pypa.io/get-pip.py && | |
python3 get-pip.py && | |
python3 -m pip install --upgrade pip && | |
make libpecos VFLAG=-v WARN_AS_ERROR=True && | |
make test VFLAG=-v WARN_AS_ERROR=True" |