Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RaymiiOrg authored May 4, 2024
1 parent 30acb4c commit 89c4470
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/build-test-and-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,33 @@ jobs:
env:
MAKEFLAGS: "-j2"

- name: Run test scripts
working-directory: ${{runner.workspace}}/axpbox
shell: bash
run: ${{runner.workspace}}/axpbox/test/run

- name: Upload AXPbox binary
uses: actions/upload-artifact@v1
with:
name: AXPbox-linux-x86-gcc-${{ env.BUILD_DATE }}
path: ${{runner.workspace}}/build/axpbox
env:
BUILD_DATE: ${{ steps.date.outputs.date }}
# - name: Run test scripts
# working-directory: ${{runner.workspace}}/axpbox
# shell: bash
# run: ${{runner.workspace}}/axpbox/test/run

# - name: Upload AXPbox binary
# uses: actions/upload-artifact@v1
# with:
# name: AXPbox-linux-x86-gcc-${{ env.BUILD_DATE }}
# path: ${{runner.workspace}}/build/axpbox
# env:
# BUILD_DATE: ${{ steps.date.outputs.date }}

- name: Collect coverage into one XML report
run: |
gcovr --sonarqube > coverage.xml
- name: ls build
shell: bash
working-directory: ${{runner.workspace}}/build
run: ls -la

- name: ls
shell: bash
run: ls -la


- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 89c4470

Please sign in to comment.