diff --git a/.github/workflows/examples-e2e-test.yml b/.github/workflows/examples-e2e-test.yml index 12af9827..e8c9e2e2 100644 --- a/.github/workflows/examples-e2e-test.yml +++ b/.github/workflows/examples-e2e-test.yml @@ -14,9 +14,6 @@ jobs: python_version: ["3.10", "3.11", "3.12"] os: ["ubuntu-22.04", "ubuntu-24.04"] runs-on: ${{ matrix.os}} - defaults: - run: - working-directory: ./examples timeout-minutes: 20 env: TEST_SIGNALING_URLS: ${{ secrets.TEST_SIGNALING_URLS }} @@ -37,10 +34,10 @@ jobs: - uses: eifinger/setup-rye@v4 - run: rye pin ${{ matrix.python_version }} - run: rye sync - - run: rye run pytest tests/test_openh264.py -s - - run: rye run pytest tests/test_messaging.py -s - - run: rye run pytest tests/test_sendonly_recvonly.py -s - - run: rye run pytest tests/test_vad.py -s + - run: rye run pytest examples/tests/test_openh264.py -s + - run: rye run pytest examples/tests/test_messaging.py -s + - run: rye run pytest examples/tests/test_sendonly_recvonly.py -s + - run: rye run pytest examples/tests/test_vad.py -s e2e_macos_test: strategy: @@ -49,9 +46,6 @@ jobs: # macos-13 は test_macos.py が上手くテストが動かないのでスキップ os: ["macos-14"] runs-on: ${{ matrix.os }} - defaults: - run: - working-directory: ./examples timeout-minutes: 20 env: TEST_SIGNALING_URLS: ${{ secrets.TEST_SIGNALING_URLS }} @@ -68,20 +62,17 @@ jobs: - uses: eifinger/setup-rye@v4 - run: rye pin ${{ matrix.python_version }} - run: rye sync - - run: rye run pytest tests/test_macos.py -s - - run: rye run pytest tests/test_openh264.py -s - - run: rye run pytest tests/test_messaging.py -s - - run: rye run pytest tests/test_sendonly_recvonly.py -s - - run: rye run pytest tests/test_vad.py -s + - run: rye run pytest examples/tests/test_macos.py -s + - run: rye run pytest examples/tests/test_openh264.py -s + - run: rye run pytest examples/tests/test_messaging.py -s + - run: rye run pytest examples/tests/test_sendonly_recvonly.py -s + - run: rye run pytest examples/tests/test_vad.py -s e2e_windows_test: strategy: matrix: python_version: ["3.10", "3.11", "3.12"] runs-on: windows-2022 - defaults: - run: - working-directory: ./examples timeout-minutes: 20 env: # Python を強制的に UTF-8 で利用するおまじない @@ -103,9 +94,9 @@ jobs: - uses: eifinger/setup-rye@v4 - run: rye pin ${{ matrix.python_version }} - run: rye sync - - run: rye run pytest tests/test_messaging.py -s - - run: rye run pytest tests/test_sendonly_recvonly.py -s - - run: rye run pytest tests/test_vad.py -s + - run: rye run pytest examples/tests/test_messaging.py -s + - run: rye run pytest examples/tests/test_sendonly_recvonly.py -s + - run: rye run pytest examples/tests/test_vad.py -s slack_notify_succeeded: needs: [e2e_ubuntu_test, e2e_macos_test, e2e_windows_test]