Skip to content

Update release_notes.tex #2425

Update release_notes.tex

Update release_notes.tex #2425

Workflow file for this run

name: GitHub Actions for PsPM
on: [push]
jobs:
PsPM-test:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Add test data
uses: actions/checkout@v3
with:
repository: bachlab/PsPM-data
token: ${{ secrets.PSPM_PAT }}
path: ImportTestData
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Detect python
run: python 'test/pspm_py_find_location.py'
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: Signal_Processing_Toolbox Statistics_and_Machine_Learning_Toolbox
- name: Run script
id: pspm_test_main
uses: matlab-actions/run-command@v1
with:
command: addpath('test'), addpath('src'), pspm_test_github_actions
- name: Check status
id: check_status
uses: andstor/file-existence-action@v2
with:
files: "success.txt"
- name: Return running success
if: ${{ steps.check_status.outputs.files_exists == 'true' }}
run: exit 0
- name: Return running failure
if: ${{ steps.check_status.outputs.files_exists != 'true' }}
run: exit 1
# Optional commands
# - run: echo "This job's status is ${{ job.status }}."
# - name: List files in the repository
# run: ls ${{ github.workspace }}
# - name: Display structure of downloaded files
# run: ls -R
# - run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
# - run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
# - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
# Show a value
# - run: echo "This running status is ${{ steps.check_status.outputs.files_exists }}."
# Set a variable
# - name: Set running status variable
# id: status_var
# run: echo "status_output=success" >> $GITHUB_OUTPUT
# - uses: pCYSl5EDgo/cat@master
# id: result_list
# with:
# path: "success.txt"
# - name: Return running results
# run: echo $TEXT
# env:
# TEXT: ${{ steps.result_list.outputs.text }}