diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 67eee85e..7b4497df 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -3,7 +3,8 @@ name: Deploy the documentation on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -27,9 +28,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + - name: Install Hatch - uses: pypa/hatch@install + uses: pypa/hatch@install - name: Build the website run: | @@ -51,4 +52,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/publish-to-docker.yaml b/.github/workflows/publish-to-docker.yaml index 15ee41cb..d0eba5ca 100644 --- a/.github/workflows/publish-to-docker.yaml +++ b/.github/workflows/publish-to-docker.yaml @@ -6,7 +6,7 @@ on: types: - published workflow_dispatch: # to make the workflow triggerable manually - + jobs: call_tests_workflow: name: Test @@ -51,4 +51,4 @@ jobs: with: subject-name: rendercv/rendercv subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true \ No newline at end of file + push-to-registry: true diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 5d0c4ff2..c12461c0 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -13,7 +13,8 @@ jobs: publish: name: Publish to PyPI - needs: [call_tests_workflow] + needs: + - call_tests_workflow runs-on: ubuntu-latest environment: release diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 26c85b7c..2cdc6023 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,9 +3,11 @@ name: Test # GitHub events that triggers the workflow: on: push: - branches: ["main", "dev"] + branches: + - "*" pull_request: - branches: ["main", "dev"] + branches: + - "*" workflow_call: # to make the workflow triggerable from other workflows (publish-to-pypi.yaml) workflow_dispatch: # to make the workflow triggerable manually @@ -31,7 +33,7 @@ jobs: - name: Test run: hatch run test.py${{ matrix.python-version }}:test-and-report - + - name: Rename the coverage file run: mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}