Skip to content

Commit

Permalink
Updates actions versions. (#39)
Browse files Browse the repository at this point in the history
* Updates actions versions.

* Fix upload test names
  • Loading branch information
mducle authored Sep 4, 2024
1 parent 79dcf97 commit afa5744
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-landing-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
update-landing-page:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.10
- name: Update pip and install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,23 @@ jobs:
uses: matlab-actions/run-command@v2
with:
command: cd('test'); set_up_dependencies; run_tests('brille')
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: ${{ always() && matrix.os == 'ubuntu-latest' && matrix.matlab_version == 'latest' }}
with:
directory: test
files: coverage*.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload toolbox
if: ${{ always() && matrix.os == 'ubuntu-latest' && matrix.matlab_version == 'latest' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: horace_euphonic_interface.mltbx
path: mltbx/horace_euphonic_interface.mltbx
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Unit test results ${{ matrix.os }}
name: Unit_test-${{ matrix.os }}-matlab-${{ matrix.matlab_version }}-py${{ matrix.python_version }}
path: test/junit_report*.xml

publish-test-results:
Expand All @@ -97,7 +97,7 @@ jobs:
if: success() || failure()
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Publish test results
Expand Down

0 comments on commit afa5744

Please sign in to comment.