Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vbs #167

Closed
wants to merge 19 commits into from
Closed

Vbs #167

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 45 additions & 10 deletions .github/workflows/windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ jobs:
- name: Copy rece.ini file
run: |
copy conf\rece.ini .
- name: Test WSAA command line interface
run: |
.\wsaa.exe --analizar reingart.crt reingart.key wsmtxca 300
# - name: Test WSAA command line interface
# run: |
# .\wsaa.exe --analizar reingart.crt reingart.key wsmtxca 300
- name: Register WSAA component
run: |
.\wsaa.exe --register
Expand All @@ -144,16 +144,51 @@ jobs:
run: |
reg export "HKEY_CLASSES_ROOT\CLSID\{FA1BB90B-53D1-4FDA-8D1F-DEED2700E739}" wsfev1.reg
type wsfev1.reg
- name: Test WSAA COM server automation
# - name: Test WSAA COM server automation
# run: |
# .\tests\test_wsaa.ps1
# - name: Test WSFEv1 COM server automation
# run: |
# .\tests\test_wsfev1.ps1
# - name: Test RECE1 command line interface tool
# run: |
# $env:Path += ";$pwd"
# . .\tests\test_rece1.ps1
- name: List ejemplos directory
run: |
Get-ChildItem -Recurse .\ejemplos

- name: Create dist folder if not exists
run: |
.\tests\test_wsaa.ps1
- name: Test WSFEv1 COM server automation
New-Item -ItemType Directory -Force -Path .\dist

- name: Copy VBS files to dist folder
run: |
Copy-Item .\ejemplos\pyi25\pyi25.vbs .\dist\ -ErrorAction Continue -ErrorVariable copyErrors
if ($copyErrors) {
Write-Host "Error copying pyi25.vbs: $copyErrors"
}
Copy-Item .\ejemplos\pyqr\pyqr.vbs .\dist\ -ErrorAction Continue
Copy-Item .\ejemplos\factura_electronica.vbs .\dist\ -ErrorAction Continue
Copy-Item .\ejemplos\remito_electronico_carnico.vbs .\dist\ -ErrorAction Continue
Get-ChildItem .\dist

- name: Test pyi25.vbs
run: |
.\tests\test_pyi25.ps1

- name: Test pyqr.vbs
run: |
.\tests\test_wsfev1.ps1
- name: Test RECE1 command line interface tool
.\tests\test_pyqr.ps1

- name: Test factura_electronica.vbs
run: |
$env:Path += ";$pwd"
. .\tests\test_rece1.ps1
.\tests\test_factura_electronica.ps1

- name: Test remito_electronico_carnico.vbs
run: |
.\tests\test_remito_electronico_carnico.ps1


pre-release:
name: "Pre Release"
Expand Down
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@
import warnings
import sys

try:
rev = subprocess.check_output(
["git", "rev-list", "--count", "--all"], stderr=subprocess.PIPE
).strip().decode("ascii")
except:
rev = 0

__version__ = "%s.%s.%s" % (sys.version_info[0:2] + (rev,))
__version__ = "3.10.3028"

HOMO = True

Expand Down
Loading
Loading