Skip to content

Commit

Permalink
windows の E2E テストはコメントアウトする
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jul 31, 2024
1 parent d23bf04 commit 36c744f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

jobs:
e2e_ubuntu_test:
if: false
strategy:
matrix:
python_version: ["3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -46,7 +45,6 @@ jobs:
- run: rye run pytest tests/test_vad.py -s

e2e_macos_test:
if: false
strategy:
matrix:
python_version: ["3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -80,24 +78,25 @@ jobs:
- run: rye run pytest tests/test_switched.py -s
- run: rye run pytest tests/test_vad.py -s

e2e_windows_test:
strategy:
matrix:
# python_version: ["3.10", "3.11", "3.12"]
python_version: ["3.12"]
runs-on: windows-2022
timeout-minutes: 20
env:
TEST_SIGNALING_URL: ${{ secrets.TEST_SIGNALING_URL }}
TEST_SECRET_KEY: ${{ secrets.TEST_SECRET_KEY }}
TEST_CHANNEL_ID_PREFIX: ${{ secrets.TEST_CHANNEL_ID_PREFIX }}
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v4
- run: rye pin ${{ matrix.python_version }}
- run: rye sync
- run: rye run python run.py windows_x86_64
- run: rye run pytest tests/test_sendonly_recvonly.py -s
# まだ Windows で E2E テストは早かったかもしれない
# e2e_windows_test:
# strategy:
# matrix:
# # python_version: ["3.10", "3.11", "3.12"]
# python_version: ["3.12"]
# runs-on: windows-2022
# timeout-minutes: 20
# env:
# TEST_SIGNALING_URL: ${{ secrets.TEST_SIGNALING_URL }}
# TEST_SECRET_KEY: ${{ secrets.TEST_SECRET_KEY }}
# TEST_CHANNEL_ID_PREFIX: ${{ secrets.TEST_CHANNEL_ID_PREFIX }}
# steps:
# - uses: actions/checkout@v4
# - uses: eifinger/setup-rye@v4
# - run: rye pin ${{ matrix.python_version }}
# - run: rye sync
# - run: rye run python run.py windows_x86_64
# - run: rye run pytest tests/test_sendonly_recvonly.py -s

slack_notify_succeeded:
needs: [e2e_ubuntu_test, e2e_macos_test, e2e_windows_test]
Expand All @@ -112,6 +111,7 @@ jobs:
SLACK_TITLE: SUCCEEDED
SLACK_ICON_EMOJI: ":star-struck:"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

slack_notify_failed:
needs: [e2e_ubuntu_test, e2e_macos_test]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 36c744f

Please sign in to comment.