mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-20 22:31:08 +00:00
Add tests for default inputs and error conditions
This commit is contained in:
parent
73a9619996
commit
ec5b2fc812
2 changed files with 37 additions and 2 deletions
30
.github/workflows/errors.yaml
vendored
Normal file
30
.github/workflows/errors.yaml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
on:
|
||||
- workflow_dispatch
|
||||
|
||||
name: Errors
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
- macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.7'
|
||||
- uses: ./
|
||||
name: before checkout
|
||||
continue-on-error: true
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
# This is necessary so that we have the tags.
|
||||
fetch-depth: 0
|
||||
- uses: ./
|
||||
name: invalid VCS
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: dunamai from incorrect
|
Loading…
Add table
Add a link
Reference in a new issue