From 0b1bca99aabac28ae15e19083a912e12c93f692d Mon Sep 17 00:00:00 2001 From: Password Date: Thu, 21 Nov 2024 00:07:32 -0300 Subject: [PATCH] Update python-CI.yml --- .github/workflows/python-CI.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-CI.yml b/.github/workflows/python-CI.yml index ff29957..7868a45 100644 --- a/.github/workflows/python-CI.yml +++ b/.github/workflows/python-CI.yml @@ -1,14 +1,18 @@ name: CI -on: [push, pull_request] +on: + pull_request: + push: + branches: + - main jobs: - tests: + ci: strategy: fail-fast: false matrix: python-version: ["3.12"] - poetry-version: ["latest", "1.8.3"] - os: [ubuntu-22.04, macos-latest, windows-latest] + poetry-version: ["latest"] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -23,4 +27,4 @@ jobs: run: poetry install - name: Test with pytest run: | - poetry run pytest \ No newline at end of file + poetry run pytest