Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Apr 13, 2024
1 parent ed63433 commit 21cdb5e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt --no-cache-dir; fi
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install . --no-cache-dir
- name: Test with pytest
run: |
Expand Down Expand Up @@ -73,8 +74,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt --no-cache-dir; fi
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install .
- name: Test with pytest
run: |
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install . --no-cache-dir
Expand Down

0 comments on commit 21cdb5e

Please sign in to comment.