Skip to content

Commit

Permalink
chore: check out the quickstart first in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Aug 8, 2024
1 parent b7eb03f commit b9b2ae9
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pull_request_gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand All @@ -49,13 +56,6 @@ jobs:
path: ./timefold-solver
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build the solver
- name: "Setup Java and Gradle"
uses: actions/setup-java@v3
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull_request_maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
java-version: [ 17, 21, 22 ] #Latest two LTS + latest non-LTS.
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand All @@ -49,13 +56,6 @@ jobs:
path: ./timefold-solver
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build and test
- name: "Setup Java and Maven"
uses: actions/setup-java@v3
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/pull_request_maven_long_running.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ jobs:
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand All @@ -54,13 +61,6 @@ jobs:
path: ./timefold-solver
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build and test
- name: "Setup GraalVM native image"
uses: graalvm/setup-graalvm@v1
Expand Down Expand Up @@ -92,6 +92,13 @@ jobs:
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand Down Expand Up @@ -134,13 +141,6 @@ jobs:
path: ./timefold-solver-enterprise
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build and test
- name: "Setup GraalVM native image"
uses: graalvm/setup-graalvm@v1
Expand Down Expand Up @@ -174,6 +174,13 @@ jobs:
java-version: [ 17 ] # Only the first supported LTS; already too many jobs here.
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand All @@ -194,13 +201,6 @@ jobs:
path: ./timefold-solver
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build and test
- name: "Setup GraalVM native image"
uses: graalvm/setup-graalvm@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull_request_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
python-version: ['3.11', '3.12']
timeout-minutes: 120
steps:
# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Clone timefold-solver
# Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it.
- name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists
Expand All @@ -47,13 +54,6 @@ jobs:
path: ./timefold-solver
fetch-depth: 0 # Otherwise merge will fail on account of not having history.

# Clone timefold-quickstarts
# No need to check for stale repo, as Github merges the main repo into the fork automatically.
- name: Checkout timefold-quickstarts
uses: actions/checkout@v4
with:
path: './timefold-quickstarts'

# Build and test
- name: "Setup Java and Maven"
uses: actions/setup-java@v3
Expand Down

0 comments on commit b9b2ae9

Please sign in to comment.