Skip to content

Commit

Permalink
Install dependencies in github action
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <[email protected]>
  • Loading branch information
xiaohk committed Apr 10, 2024
1 parent a63cd8b commit 9f99a69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,12 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build
run: cd python && python -m unittest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd python
pip install -r requirements.txt
- name: Run tests
run: |
cd python
python -m unittest
4 changes: 3 additions & 1 deletion python/requirements_dev.txt → python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ flake8==3.7.8
coverage==4.5.4
Sphinx==1.8.5
twine==1.14.0
numpy>=1.15.1
pyobjc>=10.2
rich>=13.7.1
pyperclip>=1.8.2

0 comments on commit 9f99a69

Please sign in to comment.