Skip to content

Commit 93ab22a

Browse files
committed
Added minimal test
1 parent bee2ed5 commit 93ab22a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/check.yml

+23
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,29 @@ jobs:
114114
- run: |
115115
true
116116
117+
test:
118+
name: Test version extraction
119+
needs:
120+
- collect
121+
- success
122+
runs-on: ubuntu-22.04
123+
strategy:
124+
fail-fast: false
125+
matrix:
126+
tool: ${{ fromJSON(needs.collect.outputs.tools) }}
127+
steps:
128+
- name: Checkout code
129+
uses: actions/checkout@v3
130+
- name: Install uniget
131+
uses: uniget-org/uniget-action@v1
132+
with:
133+
prefix: helper
134+
- name: Test version extraction
135+
run: |
136+
uniget generate uniget "${TOOL}" | docker build --tag foo --load -
137+
docker run --rm foo uniget list --installed
138+
docker run --rm foo uniget version "${TOOL}"
139+
117140
visibility:
118141
name: Check visibility
119142
needs:

0 commit comments

Comments
 (0)