From cc0fae467d98a330147c92b4b892fba07cf9a1b5 Mon Sep 17 00:00:00 2001 From: MilagrosMarin Date: Fri, 14 Feb 2025 15:39:30 +0000 Subject: [PATCH] fix: update element's test flow --- .github/workflows/test.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0432950..35919dc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,22 +1,19 @@ name: Test on: push: + branches: + - main pull_request: + branches: + - main workflow_dispatch: - schedule: - - cron: "0 8 * * 1" jobs: tests: runs-on: ubuntu-latest strategy: matrix: py_ver: ["3.9", "3.10"] - mysql_ver: ["8.0", "5.7"] - include: - - py_ver: "3.8" - mysql_ver: "5.7" - - py_ver: "3.7" - mysql_ver: "5.7" + mysql_ver: ["8.0"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{matrix.py_ver}} @@ -31,4 +28,4 @@ jobs: run: | python_version=${{matrix.py_ver}} black element_zstack --check --verbose --target-version py${python_version//.} - + black notebooks --check --verbose --target-version py${python_version//.}