Skip to content

Commit

Permalink
Premier test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Coiffier committed Nov 29, 2024
1 parent d5b3d7b commit a59dd55
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci-test-job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test workflow

on:
workflow_call:
inputs:
env:
required: true

job-1:
name: Some job no. 1
env: ${{ inputs.env }}
runs-on: ubuntu-latest
steps:
- name: First step: show variable
run: |
echo $VAR_1
job-2:
name: Some job no. 2
env: ${{ inputs.env }}
runs-on: ubuntu-latest
steps:
- name: First step: show variable
run: |
echo $VAR_2
10 changes: 10 additions & 0 deletions .github/workflows/ci-test-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Workflow de test
jobs:
jobi:
name: Run the jobs
uses: ./.github/workflows/ci-test-jobs.yml
with:
env:
VAR_1: Hello
VAR_2: Goodbye

0 comments on commit a59dd55

Please sign in to comment.