Skip to content

Adding new workflow #37

Adding new workflow

Adding new workflow #37

name: Integration Test
on:
pull_request:
inputs:
module-name:
type: string
default: something
schedule:
# Trigger at 6:00 AM and 6:00 PM UTC
- cron: "0 6,18 * * *"
inputs:
module-name:
type: string
default: something
jobs:
first-test:
name: Test Calculator
uses: swetha1654/allure-simple/.github/workflows/main.yaml@calc
with:
module-name: test_calculator

Check failure on line 24 in .github/workflows/integration_test.yaml

View workflow run for this annotation

GitHub Actions / Integration Test

Invalid workflow file

The workflow is not valid. .github/workflows/integration_test.yaml (Line: 24, Col: 20): Invalid input, module-name is not defined in the referenced workflow.
second-test:
name: Test Utils
needs: [first-test]
uses: swetha1654/allure-simple/.github/workflows/main.yaml@calc
with:
module-name: test_utils
allure-report:
if: always() && !cancelled() && ${{ github.event_name == 'schedule' }}
needs:
- first-test
- second-test
uses: swetha1654/allure-simple/.github/workflows/allure_report.yaml@calc