Skip to content

Update changeRxnBounds.m #16

Update changeRxnBounds.m

Update changeRxnBounds.m #16

Workflow file for this run

name: Example
on:
pull_request:
branches:
- master
- main
- develop
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetches all history for all branches and tags to facilitate the merge.
- name: Merge base branch into PR
run: |
# Fetch the latest commits from the base branch
git fetch origin ${{ github.base_ref }}
# Merge the base branch into the PR branch
git merge origin/${{ github.base_ref }}
- uses: matlab-actions/setup-matlab@v2
- name: Run testAll function
run: matlab -batch "addpath('test'); testAll; rmpath('test');"
# Ensure that testAll outputs a file named test.junit.xml in the current working directory or adjust path accordingly
- name: Upload test results to Codecov
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: testReport.junit.xml