I have following deploy.yaml
file
name: The fancy name
on:
push:
branches:
- master
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
- name: Tests
run: python3 -m pytest
here is what i have in requirements.txt
file
apache-beam==2.18.0
protobuf==3.11.2
pytest==5.3.5
Faker==4.0.0
But github action is failing with following errors
/Python/3.8.1/x64/lib/python3.8/config-3.8-x86_64-linux-gnu
-- Looking for python3.8
-- Found Python lib /opt/hostedtoolcache/Python/3.8.1/x64/lib/libpython3.8.so
-- Found PythonLibs: /opt/hostedtoolcache/Python/3.8.1/x64/lib/libpython3.8.so
CMake Error at cmake_modules/FindNumPy.cmake:62 (message):
NumPy import failure:
Traceback (most recent call last):
What should be the path forward here?
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
Call Stack (most recent call first):
CMakeLists.txt:189 (find_package)