Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut committed Jul 17, 2023
1 parent 2e3e608 commit 98dbc53
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- "3.11"
needs:
- filter
if: ${{ (github.event_name == 'pull_request' && needs.filter.outputs.client == 'true') || github.event_name == 'push' }}
if: ${{ (github.event_name == 'pull_request_mock' && needs.filter.outputs.client == 'true') || github.event_name == 'push' }}

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -89,13 +89,13 @@ jobs:
# Python 3.7.17 in MacOSX will raise "No module named _bz2" exception.
# For Example: https://github.com/star-whale/starwhale/actions/runs/5318220340/jobs/9631411188?pr=2371
- "3.7.16"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
# - "3.8"
# - "3.9"
# - "3.10"
# - "3.11"
os:
- macos-latest
- ubuntu-latest
# - ubuntu-latest
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down Expand Up @@ -136,6 +136,9 @@ jobs:
git config --global user.name "starwhale-ci"
git config --global user.email "[email protected]"
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Run Unittest
working-directory: ./client
run: make ut
Expand Down Expand Up @@ -173,7 +176,7 @@ jobs:

needs:
- filter
if: ${{ (github.event_name == 'pull_request' && needs.filter.outputs.client == 'true') || github.event_name == 'push' }}
if: ${{ (github.event_name == 'pull_request_mock' && needs.filter.outputs.client == 'true') || github.event_name == 'push' }}

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- cron: "34 10,13 * * *"
pull_request:
branches:
- main
- main_mock

env:
PYPI_RELEASE_VERSION: 100.0.0
Expand Down

0 comments on commit 98dbc53

Please sign in to comment.