mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
workflows: cleanup
This commit is contained in:
9
.github/workflows/deploy-docs.yaml
vendored
9
.github/workflows/deploy-docs.yaml
vendored
@@ -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
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
4
.github/workflows/publish-to-docker.yaml
vendored
4
.github/workflows/publish-to-docker.yaml
vendored
@@ -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
|
||||
push-to-registry: true
|
||||
|
||||
3
.github/workflows/publish-to-pypi.yaml
vendored
3
.github/workflows/publish-to-pypi.yaml
vendored
@@ -13,7 +13,8 @@ jobs:
|
||||
|
||||
publish:
|
||||
name: Publish to PyPI
|
||||
needs: [call_tests_workflow]
|
||||
needs:
|
||||
- call_tests_workflow
|
||||
runs-on: ubuntu-latest
|
||||
environment: release
|
||||
|
||||
|
||||
8
.github/workflows/test.yaml
vendored
8
.github/workflows/test.yaml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user