Pin numpy in models module #31
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: Unit Test Packages | |
on: [push] | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e "models[test]" | |
pip install -e "web[test]" | |
pip install -e "api[test]" | |
- name: Load example .env file | |
uses: xom9ikk/[email protected] | |
with: | |
path: ./ | |
mode: example # should load .env.example | |
load-mode: strict # should fail if .env.example missing | |
- name: Test with pytest | |
working-directory: ./ | |
# Ideally we should not need all the environment variables to test. | |
run: pytest |