From b0b3b9638373a249588861745cdb8cf22ee829db Mon Sep 17 00:00:00 2001 From: eggplants Date: Tue, 30 Apr 2024 11:57:13 +0900 Subject: [PATCH] update ci --- .github/dependabot.yml | 11 ++++++++--- .github/workflows/test.yml | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c5d1b72..3c72c3b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,12 +3,17 @@ updates: - package-ecosystem: pip directory: / schedule: - interval: daily + interval: monthly + groups: + dependencies: + dependency-type: production + dev-dependencies: + dependency-type: development - package-ecosystem: github-actions directory: / schedule: - interval: daily + interval: monthly - package-ecosystem: docker directory: / schedule: - interval: daily + interval: monthly diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f04f11a..6cac95d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: matrix: os: - ubuntu-latest - # - windows-latest + - windows-latest - macos-latest python-version: # - '3.8' @@ -32,10 +32,10 @@ jobs: - uses: abatilo/actions-poetry@v3 - run: poetry install --no-interaction - name: Test - if: ${{ runner.os == 'Windows' }} + if: ${{ runner.os != 'Linux' }} run: poetry run task test - name: Test & publish code coverage - if: ${{ runner.os != 'Windows' && env.CC_TEST_REPORTER_ID != '' }} + if: ${{ runner.os = 'Linux' && env.CC_TEST_REPORTER_ID != '' }} uses: paambaati/codeclimate-action@v6.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}