https://github.com/rulasg/testinghelper-setup-action
Setup TestingHelper module for later use on workflow job
https://github.com/rulasg/testinghelper-setup-action
action posh powershell pwsh
Last synced: 12 months ago
JSON representation
Setup TestingHelper module for later use on workflow job
- Host: GitHub
- URL: https://github.com/rulasg/testinghelper-setup-action
- Owner: rulasg
- License: mit
- Created: 2023-08-05T09:56:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-06T10:35:02.000Z (over 2 years ago)
- Last Synced: 2025-02-18T05:02:05.112Z (about 1 year ago)
- Topics: action, posh, powershell, pwsh
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TestingHelper Setup Action
[](https://github.com/rulasg/testinghelper-setup-action/actions/workflows/test-action.yml)
An action that setups TestingHelper Powershell module to be used later in the workflow job.
Testing is key for a healthy and effitient development process.
[TestingHelper](https://github.com/rulasg/testingHelper#readme) will help you on different faces of the developmnet lifecycle of a powershell module including testing.
This Action will setup the module on the runner for later use on the job.
## Calling the action
This workflow will run `testinghelper-setup-action` to setup version 2.0 of TestingHelper for later to call `testinghelper-action` to run the tests of the checkout module.
```yaml
name: Test with TestingHelper-Action
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
# To run test we only need to read the repository
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup TestingHelper
uses: rulasg/testinghelper-setup-action@v1
with:
Version: '2.0'
- name: Run tests
uses: rulasg/testinghelper-action@v1
```