-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 997 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
name: Test
on:
pull_request:
paths-ignore:
- '**.md'
push:
paths-ignore:
- '**.md'
jobs:
plugin-test:
runs-on: ubuntu-22.04
steps:
- uses: hmarr/debug-action@f7318c783045ac39ed9bb497e22ce835fdafbfe6
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Install asdf
uses: asdf-vm/actions/setup@1bf052e01b498bba4f98e1bbb5c609bc212cf463
- name: Move database-tools plugin to asdf plugins dir
run: |
mkdir -p ${ASDF_DIR}/plugins
cp -r . ${ASDF_DIR}/plugins/database-tools
- name: Run database-tools plugin tests
run: |
echo "Trying to list all versions of database-tools"
asdf list all database-tools
echo "Trying to install database-tools 0.8.2"
asdf install database-tools 0.8.2
asdf list database-tools | grep 0.8.2
- uses: asdf-vm/actions/plugin-test@1bf052e01b498bba4f98e1bbb5c609bc212cf463
with:
command: mongo-archive --help