Skip to content

Commit

Permalink
Adding new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swetha1654 committed Dec 3, 2024
1 parent 8e95738 commit 58c62c8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Integration Test

on: [push]

jobs:
first-test:
name: Test Calculator
uses: swetha1654/allure-simple/.github/workflows/main.yaml@calc
with:
module-name: test_calculator


jobs:
first-test:
name: Test Calculator
uses: swetha1654/allure-simple/.github/workflows/main.yaml@calc
with:
module-name: test_utils


9 changes: 7 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Allure Report

on: [push]
on:
workflow_call:
inputs:
module-name:
type: string
default: something

jobs:
autotests:
Expand All @@ -26,7 +31,7 @@ jobs:
- name: Run Test
if: always()
run: pytest --alluredir=allure-results
run: pytest -k ${{ inputs.module-name }} --alluredir=allure-results/${{ inputs.module-name }}
continue-on-error: true

- name: Get Allure history
Expand Down

0 comments on commit 58c62c8

Please sign in to comment.