Skip to content

Commit

Permalink
fix numpy req for python3.8, add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaubin committed Jul 26, 2023
1 parent 800e8d3 commit 4207a3a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/worflows/test-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build package

on:
push:
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.10"]
requirements-file: ["pt2", "pt13"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/${{ matrix.requirements-file }}.txt
pip install .
2 changes: 1 addition & 1 deletion requirements/pt2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kornia==0.6.9
matplotlib>=3.7.2
natsort>=8.4.0
ninja>=1.11.1
numpy>=1.25.1
numpy>=1.24.4
omegaconf>=2.3.0
open-clip-torch>=2.20.0
opencv-python==4.6.0.66
Expand Down

0 comments on commit 4207a3a

Please sign in to comment.