diff --git a/.github/workflows/tests-linux.yml b/.github/workflows/tests-linux.yml index 825f16e5c..726ec8a3e 100644 --- a/.github/workflows/tests-linux.yml +++ b/.github/workflows/tests-linux.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-22.04] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] exclude: - os: ubuntu-22.04 python-version: '3.6' @@ -46,12 +46,6 @@ jobs: shell: bash -l {0} run: make coverage - # These steps will cause a fail if there is an error during the testing - # - name: Download test results - # uses: actions/download-artifact@v3 - # with: - # name: test-results.xml - # path: /home/runner/work/vplanet/vplanet/junit - name: Check test ouptut created id: check_test_file uses: andstor/file-existence-action@v2 diff --git a/.github/workflows/tests-macos.yml b/.github/workflows/tests-macos.yml index f2865acc4..0f9664626 100644 --- a/.github/workflows/tests-macos.yml +++ b/.github/workflows/tests-macos.yml @@ -94,19 +94,14 @@ jobs: - name: Run tests if: steps.setup_python.outcome == 'success' - run: | - make test + run: make test - # These steps will cause a fail if there is an error during the testing - - name: Upload test results - uses: actions/upload-artifact@v2 - with: - name: test-results - path: test-results - - name: Download test results - uses: actions/download-artifact@v2 + - name: Check test ouptut created + id: check_test_file + uses: andstor/file-existence-action@v2 with: - name: test-results + files: "/home/runner/work/vplanet/vplanet/junit/test-results.xml" + fail: true - name: Get unique id uses: Tiryoh/gha-jobid-action@v1 @@ -116,7 +111,4 @@ jobs: uses: EnricoMi/publish-unit-test-result-action/composite@v2 if: always() with: - files: | - test-results/**/*.xml - test-results/**/*.trx - test-results/**/*.json + files: junit/test-*.xml