Update README.md #6
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: Numpy Check | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install numpy | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Check numpy version | |
run: | | |
python -c "import numpy; assert numpy.__version__ == '1.26.1', f'Numpy version is {numpy.__version__}'" | |