From 611e63e74492b6538cd214dacb910a187dd82bb9 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_test_and_deploy.yml b/.github/workflows/code_test_and_deploy.yml index 499720fc..7431a905 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,10 @@ 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 + fi - name: Test run: pytest -k test_combinations_ssh_transfer