Skip to content

Commit

Permalink
Rmoeved Python3.12 from tests-linux.
Browse files Browse the repository at this point in the history
Added file check in tests-macos.
  • Loading branch information
RoryBarnes committed Nov 1, 2023
1 parent 6feefa9 commit 7df94a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/tests-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 7df94a7

Please sign in to comment.