setup-rokit/.github/workflows/test.yml

66 lines
1.2 KiB
YAML
Raw Normal View History

2023-09-17 22:50:54 -04:00
name: test
2022-07-18 12:38:06 -04:00
on:
2022-07-18 16:05:42 -04:00
workflow_dispatch:
2022-07-18 12:40:16 -04:00
push:
2022-07-18 12:38:06 -04:00
paths:
2022-09-16 22:58:22 -04:00
- "**.yml"
2022-07-18 12:40:16 -04:00
pull_request:
paths:
2022-09-16 22:58:22 -04:00
- "**.yml"
2022-07-18 12:40:16 -04:00
2022-07-18 12:20:56 -04:00
defaults:
run:
shell: bash
2022-07-17 23:41:44 -04:00
jobs:
2022-08-16 21:18:04 -04:00
test_linux:
2022-07-17 23:41:44 -04:00
runs-on: ubuntu-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-17 23:41:44 -04:00
2022-08-16 21:18:04 -04:00
test_mac:
2022-07-17 23:41:44 -04:00
runs-on: macos-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-17 23:41:44 -04:00
2022-08-16 21:18:04 -04:00
test_windows:
2022-07-18 12:07:51 -04:00
runs-on: windows-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-17 23:53:19 -04:00
2022-07-18 12:07:51 -04:00
test_linux_version_and_path:
runs-on: ubuntu-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:09:17 -04:00
- run: mkdir project
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-18 12:07:51 -04:00
with:
2022-09-16 22:58:22 -04:00
version: v0.2.7
2022-07-18 12:07:51 -04:00
path: "./project"
2022-07-17 23:41:44 -04:00
2022-07-18 12:07:51 -04:00
test_mac_version_and_path:
runs-on: macos-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:09:17 -04:00
- run: mkdir project
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-17 23:41:44 -04:00
with:
2022-09-16 22:58:22 -04:00
version: v0.2.7
2022-07-18 12:07:51 -04:00
path: "./project"
test_windows_version_and_path:
runs-on: windows-latest
steps:
2022-07-18 12:15:03 -04:00
- uses: actions/checkout@v3
2022-07-18 12:09:17 -04:00
- run: mkdir project
2022-07-18 12:11:39 -04:00
- uses: ./.github/actions/test
2022-07-18 12:07:51 -04:00
with:
2022-09-16 22:58:22 -04:00
version: v0.2.7
2022-07-18 12:07:51 -04:00
path: "./project"