From 58d44814b027dd70ced87c3fc3309d379efb296e Mon Sep 17 00:00:00 2001 From: Poiuy7312 Date: Sat, 16 Sep 2023 13:56:43 -0400 Subject: [PATCH] Edited workflow --- .github/workflows/build.yml | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce0ee551..c33f19a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ env: # Focuses on the master branch only on: push: - branches: [ master ] + branches: [ master , Work-flow-changes-to-check-more-OS] pull_request: branches: [ master ] @@ -18,19 +18,12 @@ on: # This job performs all necessary checks jobs: build: - # Use the latest version of Ubuntu,Windows and MacOS - runs-on: ${{ matrix.os }} + # Use the latest version of Ubuntu on Microsoft Azure + runs-on: ubuntu-latest strategy: - fail-fast: false matrix: - os: [ubuntu-latest] - # Performs all actions on different versions of Python and OS - python-version: ['3.10','3.11'] - include: - - os: macos-latest - python-version: ["3.10","3.11"] - - os: windows-latest - python-version: ["3.10","3.11"] + # Performs all actions on different versions of Python + python-version: ['3.11'] # Define the workflow steps steps: # Checkout the code of the repository @@ -75,6 +68,20 @@ jobs: run: | poetry run chasten analyze chasten --config $PWD/.chasten/ --debug-level ERROR --debug-dest CONSOLE --search-path . # Run the tests + test: + name: Test + runs-on: ${{ matrix.os }} + needs: build + strategy: + matrix: + os: [ubuntu-latest] + python-version: ["3.10","3.11"] + include: + - os: macos-latest + python-version: "3.11" + - os: windows-latest + python-version: "3.11" + steps: - name: Run Tests if: always() run: | @@ -105,4 +112,4 @@ jobs: message: ${{ env.total }}% minColorRange: 50 maxColorRange: 90 - valColorRange: ${{ env.total }} + valColorRange: ${{ env.total }} \ No newline at end of file