Skip to content

Commit

Permalink
fix: install dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Jul 16, 2023
1 parent 3214ade commit 882fc8f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
pdm use -f ${{ matrix.python-version }}
pdm sync -d -G grpc -G io -G testing
pdm install -d -G grpc -G io -G testing
- name: Unit tests
run: pdm run -v tests tests/unit -n 3
- name: Disambiguate coverage filename
Expand All @@ -56,10 +56,9 @@ jobs:
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
cache: true
python-version: '3.8'
- name: Install dependencies
run: pdm sync -d -G testing -G frameworks
run: pdm install -d -G testing -G frameworks
- name: Run framework integration tests
run: pdm run -v tests tests/integration
- name: Disambiguate coverage filename
Expand Down Expand Up @@ -99,7 +98,7 @@ jobs:
- name: Install dependencies
run: |
pdm use -f ${{ matrix.python-version }}
pdm sync -d -G io -G testing -G monitor-otlp
pdm install -d -G io -G testing -G monitor-otlp
- name: Run the monitoring tests
working-directory: examples/monitoring/task_classification
run: mkdir -p monitoring && pdm run -v monitoring
Expand Down Expand Up @@ -144,7 +143,7 @@ jobs:
- name: Install dependencies
run: |
pdm use -f ${{ matrix.python-version }}
pdm sync -d -G grpc -G io -G testing
pdm install -d -G grpc -G io -G testing
- name: Run ${{ matrix.server_type }} tests and generate coverage report
run: |
pip install -r tests/e2e/bento_server_${{ matrix.server_type }}/requirements.txt
Expand Down

0 comments on commit 882fc8f

Please sign in to comment.