From 78dbd11b8aa46695224b145ef1d0bdbfda88581f Mon Sep 17 00:00:00 2001 From: JoeZiminski Date: Fri, 19 Apr 2024 17:24:40 +0100 Subject: [PATCH] Add all OS back. --- .github/workflows/code_test_and_deploy.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_test_and_deploy.yml b/.github/workflows/code_test_and_deploy.yml index 499720fc..7e425369 100644 --- a/.github/workflows/code_test_and_deploy.yml +++ b/.github/workflows/code_test_and_deploy.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest] # TODO: add these back in after tests... windows-latest, macos-latest, macos-14, + os: [windows-latest, macos-latest, macos-14, ubuntu-latest] , python-version: ["3.8", "3.9", "3.10", "3.11"] steps: @@ -46,7 +46,11 @@ jobs: python -m pip install --upgrade pip pip install .[dev] - name: Shutdown Ubuntu MySQL (SUDO) # free up port 3306 for ssh tests: https://github.com/orgs/community/discussions/25550 - run: sudo service mysql stop # Shutdown the Default MySQL, "sudo" is necessary, please not remove it + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + sudo service mysql stop # Shutdown the Default MySQL, "sudo" is necessary, please not remove it + elif [ "$RUNNER_OS" == "Windows" ]; then + net stop MySQL80 - name: Test run: pytest -k test_combinations_ssh_transfer