Drop deepface
and tensorflow
dependencies.
#145
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: CI | |
on: | |
push: | |
# Uncomment when we have `development` and remove `main` | |
# branches: [ development ] | |
branches: [ main, develop ] | |
pull_request: | |
# Uncomment when we have `development` | |
branches: [ main, develop ] | |
#branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python: [ "3.9" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Initialize Python ${{ matrix.python }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install package | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
pip uninstall -y numpy | |
pip install numpy==1.23.5 | |
- name: Run tests | |
run: | | |
python -m unittest discover -s phenoscore |