1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00

Run tests as part of CI

This commit is contained in:
Matthew Kilgore 2022-04-28 19:34:11 -04:00
parent fb12f0445e
commit 4330bc1089
3 changed files with 10 additions and 0 deletions

View file

@ -73,6 +73,10 @@ jobs:
- name: Print QB64 Version
run: ./qb64 -?
- name: Test
shell: bash
run: tests/run_tests.sh
- name: Create QB64 Artifact
shell: bash
run: .ci/make-dist.sh ${{ matrix.os }}
@ -96,6 +100,7 @@ jobs:
with:
name: qb64-${{ matrix.prefix }}-${{ matrix.platform }}
path: |
tests/results/
qb64_win-x86.7z
qb64_win-x64.7z
qb64_lnx.tar.gz

1
tests/.gitignore vendored
View file

@ -1 +1,2 @@
!*.bas
results/

4
tests/run_tests.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
./tests/assert.sh ./tests/compile_tests.sh ./qb64
./tests/assert.sh ./tests/qbasic_tests.sh ./qb64