fix: update numpy to 1.21.0 and add numpy 1.26 for newer versions of python #143
Workflow file for this run
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: test env | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install black==22.3.0 | |
pip install pytest | |
pip install -r requirements.txt | |
export PYTHONPATH=`pwd` | |
- name: style-check | |
run: | | |
black --check assistant_skill_analysis | |
- name: parse secrets | |
env: | |
WA_CONFIG: ${{secrets.WA_CONFIG}} | |
WA_CONFIG_ACTION: ${{secrets.WA_CONFIG_ACTION}} | |
run: | | |
python -m assistant_skill_analysis.utils.parse_secret | |
- name: unittest | |
run: | | |
pytest tests |