Skip to content

Commit

Permalink
Checking Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Poiuy7312 committed Sep 16, 2023
1 parent 58d4481 commit 11d3530
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
# Focuses on the master branch only
on:
push:
branches: [ master , Work-flow-changes-to-check-more-OS]
branches: [ master ]
pull_request:
branches: [ master ]

Expand All @@ -19,11 +19,17 @@ on:
jobs:
build:
# Use the latest version of Ubuntu on Microsoft Azure
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Performs all actions on different versions of Python
python-version: ['3.11']
os: [ubuntu-latest]
python-version: ["3.10","3.11"]
include:
- os: macos-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.11"
# Define the workflow steps
steps:
# Checkout the code of the repository
Expand Down Expand Up @@ -68,20 +74,6 @@ 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: |
Expand Down

0 comments on commit 11d3530

Please sign in to comment.