mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 14:35:44 +00:00
Run tests on all runner types
This commit is contained in:
10
.github/workflows/test-and-release.yml
vendored
10
.github/workflows/test-and-release.yml
vendored
@@ -72,12 +72,20 @@ jobs:
|
|||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
- test-api-mode
|
- test-api-mode
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- macos-latest
|
||||||
|
- ubuntu-latest
|
||||||
|
- windows-latest
|
||||||
|
fail-fast: true
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code # have to checkout to have the source code available
|
- name: Checkout code # have to checkout to have the source code available
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Remove .git directory # remove the git directory to make the testing valid
|
- name: Remove .git directory # remove the git directory to make the testing valid
|
||||||
|
shell: bash
|
||||||
run: rm -rf .git/
|
run: rm -rf .git/
|
||||||
|
|
||||||
- name: Get next version via API
|
- name: Get next version via API
|
||||||
|
|||||||
Reference in New Issue
Block a user