Skip to content

Commit

Permalink
Refactor CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Oct 22, 2023
1 parent 3043847 commit 25576a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- "**"
workflow_dispatch:
workflow_call:

jobs:
compile:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
tags:
- "v*"
workflow_dispatch:
workflow_call:

jobs:
tagged-release:
Expand All @@ -18,16 +19,10 @@ jobs:
submodules: recursive

- name: Check Compilation, Tests, Examples, Docs and Benchmarks
uses: actions/workflow-run-action@v2
with:
workflow: "continuous-integration.yaml"
ref: ${{ github.ref }}
uses: ./.github/workflows/continuous-integration.yaml

- name: Generate Python Wheels
uses: actions/workflow-run-action@v2
with:
workflow: "wheels.yaml"
ref: ${{ github.ref }}
uses: ./.github/workflows/wheels.yaml

- name: Zip Source Code
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-carbonate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
types: [created]
issues:
types: [opened]
workflow_call:

jobs:
carbonate:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- "**"
workflow_dispatch:
workflow_call:

jobs:
# Build the wheels for Linux, Windows and macOS for CPython 3.7 and newer
Expand Down

0 comments on commit 25576a7

Please sign in to comment.