generated from asdf-vm/asdf-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (38 loc) · 825 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
asdf_plugin_test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: asdf plugin test
uses: asdf-vm/actions/plugin-test@v3
with:
command: firebase --help
github_token: ${{ github.token }}
bats:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install asdf dependencies
uses: asdf-vm/actions/install@v3
- name: Run tests
run: bats test
env:
GITHUB_API_TOKEN: ${{ github.token }}