Skip to content

Commit

Permalink
iwp
Browse files Browse the repository at this point in the history
  • Loading branch information
sokoli1 committed Feb 6, 2024
1 parent db1bdd2 commit 5f6c978
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
name: (abstract) - Test

on:
workflow_call:
inputs:
package-name:
required: true
type: string
test-file:
required: true
type: string

jobs:
test:
name: Test ${{ inputs.package-name }} py v ${{ matrix.python-version }}
Expand All @@ -27,5 +17,8 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/composite/test-sdk
with:
test-file: ${{ inputs.test-file }}
package-name: ${{ inputs.package-name }}
package-under-test: .test
test-dir: tests
test-file: test
package-name: test
test-report-dir: tests/test-reports
6 changes: 3 additions & 3 deletions .github/workflows/validate-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:

run-generic-tests:
uses: ./github/workflows/_test.yml
with:
test-file: misc_test.py
package-name: pnap_audit_api
# with:
# test-file: misc_test.py
# package-name: pnap_audit_api

publish-test-results:
name: Publish Test Results
Expand Down

0 comments on commit 5f6c978

Please sign in to comment.