diff --git a/.github/workflows/mutmut-mutation-test.yml b/.github/workflows/mutmut-mutation-test.yml index 1c95c19..35c778f 100644 --- a/.github/workflows/mutmut-mutation-test.yml +++ b/.github/workflows/mutmut-mutation-test.yml @@ -1,4 +1,4 @@ -name: Mutmut +name: Mutmut Mutation Test on: workflow_dispatch: diff --git a/.github/workflows/update-coverage.yml b/.github/workflows/update-coverage.yml index 0473aed..5aea1cc 100644 --- a/.github/workflows/update-coverage.yml +++ b/.github/workflows/update-coverage.yml @@ -9,8 +9,8 @@ on: concurrency: updates-project jobs: - pytest-coverage: - name: Pytest Coverage + coverage: + name: Coverage Reports runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -21,31 +21,21 @@ jobs: run: | python3 -m pip install --upgrade pip pip install -r requirements.txt --upgrade - - run: pytest --cov=src --cov-report=json:code-coverage.json + pip install --editable . + - name: pytest + run: pytest --cov=src --cov-context=test --cov-report=json:code-coverage.json || true - name: commit-json-report if: ${{ github.ref_name == 'main' }} uses: EndBug/add-and-commit@v9 with: add: "code-coverage.json" pull: "--rebase=true --autostash" + message: ':robot: Update Coverage Report' - name: artifact-html-report uses: actions/upload-artifact@v3 with: name: Coverage Report path: cov-html - poodle: - name: Mutation Coverage - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version: '3.12' - - name: Install Dependencies and Tools - run: | - python3 -m pip install --upgrade pip - pip install -r requirements.txt --upgrade - pip install --editable . - name: Poodle run: poodle --report json || true - name: save-json-report @@ -54,3 +44,4 @@ jobs: with: add: "mutation-testing-report.json" pull: "--rebase=true --autostash" + message: ':robot: Update Coverage Report' diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 271fc59..0f9786e 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -30,4 +30,5 @@ jobs: with: add: "src/poodle/__init__.py" pull: "--rebase=true --autostash" + message: ':robot: Update version to ${{ steps.read_vesion.outputs.value }}'