|
|
@@ -54,19 +54,11 @@ jobs:
|
|
|
run: |
|
|
|
unzip -o -q ${{ matrix.profile }}.zip
|
|
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
|
|
- # TODO: produces eunit.coverdata
|
|
|
+ # produces eunit.coverdata
|
|
|
- run: make eunit
|
|
|
- env:
|
|
|
- PROFILE: ${{ matrix.profile }}-test
|
|
|
- MIX_ENV: ${{ matrix.profile }}-test
|
|
|
- TEST: 1
|
|
|
|
|
|
- # TODO produces proper.coverdata
|
|
|
+ # produces proper.coverdata
|
|
|
- run: make proper
|
|
|
- env:
|
|
|
- PROFILE: ${{ matrix.profile }}-test
|
|
|
- MIX_ENV: ${{ matrix.profile }}-test
|
|
|
- TEST: 1
|
|
|
|
|
|
- run: make cover
|
|
|
|
|
|
@@ -121,7 +113,6 @@ jobs:
|
|
|
ENABLE_COVER_COMPILE: 1
|
|
|
CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-sg${{ matrix.suitegroup }}
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- PROFILE: ${{ matrix.profile }}-test
|
|
|
run: ./scripts/ct/run.sh --ci --app ${{ matrix.app }} --keep-up
|
|
|
|
|
|
- name: make cover
|
|
|
@@ -140,7 +131,7 @@ jobs:
|
|
|
|
|
|
- name: compress logs
|
|
|
if: failure()
|
|
|
- run: tar -czf logs.tar.gz _build/{test,${{ matrix.profile }}-test}/logs
|
|
|
+ run: tar -czf logs.tar.gz _build/test/logs
|
|
|
|
|
|
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
|
if: failure()
|
|
|
@@ -183,11 +174,7 @@ jobs:
|
|
|
|
|
|
# produces $PROFILE-<app-name>-<otp-vsn>-sg<suitegroup>.coverdata
|
|
|
- name: run common tests
|
|
|
- env:
|
|
|
- TEST: 1
|
|
|
- MIX_ENV: ${{ matrix.profile }}-test
|
|
|
- PROFILE: ${{ matrix.profile }}-test
|
|
|
- run: make ensure-hex ensure-mix-rebar3 ensure-mix-rebar "${{ matrix.app }}-ct"
|
|
|
+ run: make "${{ matrix.app }}-ct"
|
|
|
|
|
|
- run: make cover
|
|
|
|
|
|
@@ -204,7 +191,7 @@ jobs:
|
|
|
|
|
|
- name: compress logs
|
|
|
if: failure()
|
|
|
- run: tar -czf logs.tar.gz _build/{test,${{ matrix.profile }}-test}/logs
|
|
|
+ run: tar -czf logs.tar.gz _build/test/logs
|
|
|
|
|
|
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
|
if: failure()
|
|
|
@@ -236,3 +223,4 @@ jobs:
|
|
|
git-commit: ${{ github.sha }}
|
|
|
|
|
|
- run: echo "All tests passed"
|
|
|
+
|