Skip to content

Commit

Permalink
Pin tensorflow due to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raswaters committed Apr 3, 2024
1 parent 5db73ee commit e5679cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
uses: actions/checkout@v2

- name: install requirements
run: |
run: |
pip install .[dev]
pip install numpy scikit-learn tensorflow --upgrade-strategy only-if-needed
- name: run pytest code coverage check
run: |
run: |
pytest \
--verbose \
--cov=calcloud \
Expand Down Expand Up @@ -54,9 +54,9 @@ jobs:
uses: actions/checkout@v2

- name: install requirements
run: |
run: |
pip install .[dev]
pip install numpy scikit-learn tensorflow --upgrade-strategy only-if-needed
pip install numpy scikit-learn==1.4.1 tensorflow==2.15.0 --upgrade-strategy only-if-needed
- name: run pytest
run: pytest -rP
2 changes: 0 additions & 2 deletions calcloud/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
tensorflow==2.12.1
scikit-learn==1.3.0
pyyaml
1 change: 0 additions & 1 deletion lambda/JobPredict/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tensorflow==2.12.1
scikit-learn==1.3.0
boto3==1.28.56
protobuf==4.24.3
4 changes: 1 addition & 3 deletions lambda/ModelIngest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
tensorflow==2.12.1
scikit-learn==1.3.0
numpy
boto3
boto3

0 comments on commit e5679cd

Please sign in to comment.