forked from litalbarkai/open-redatam
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 1 KB
/
test-windows-installer.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
name: Test Windows Installer
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-installer:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download Windows installer
run: |
curl -L -o open-redatam-windows.exe https://github.com/pachadotdev/open-redatam/releases/download/v2.0/open-redatam-windows.exe
- name: Install Windows package
run: |
Start-Process -FilePath open-redatam-windows.exe -ArgumentList '/S', '/D=C:\Program Files\OpenRedatam' -Wait
- name: Verify installation and convert DIC file
run: |
& "C:\Program Files\OpenRedatam\redatam.exe" test\galapagos\cg15.dic test\galapagos\dic-to-csv
& "C:\Program Files\OpenRedatam\redatam.exe" test\galapagos\cg15.dicX test\galapagos\dicx-to-csv
- name: Check conversion results
run: |
dir test\galapagos\dic-to-csv
dir test\galapagos\dicx-to-csv