Skip to content

Add Validate Templates (#2387) #2

Add Validate Templates (#2387)

Add Validate Templates (#2387) #2

name: validate_templates-actions
run-name: ${{ github.actor }} running Validate Templates CI actions
on: [push]
# push:
# branches: [ devel, release/** ]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ devel, release/** ]
# paths-ignore:
# - 'docs/**'
# - '**.md'
# - '.github/actions/spelling/**'
# - '.github/ISSUE_TEMPLATE/**'
jobs:
validate_templates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Checkout F' Repository"
uses: actions/checkout@v4
with:
submodules: true
path: ${{ inputs.fprime_location }}

Check failure on line 26 in .github/workflows/validate_templates.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/validate_templates.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
- name: "Test Bootstrap and build"
run: |
# pip install fprime-bootstrap
pip install git+https://github.com/nasa/fprime-tools@{devel,pr-xxxx}
pip install git+https://github.com/fprime-community/fprime-bootstrap@{devel,pr-xxxx}
sudo apt-get install expect
mkdir test_dev
cd test_dev
expect ../.github/workflows/bootstrap.exp
cd MyProject
. fprime-venv/bin/activate
fprime-util generate
fprime-util build
- name: "Test Deployment and build"
run: |
cd test_dev/MyProject
. fprime-venv/bin/activate
expect ../../.github/workflows/deployment.exp
cd MyDeployment
fprime-util build
- name: "Test Component and build"
run: |
cd test_dev/MyProject
. fprime-venv/bin/activate
expect ../../.github/workflows/component.exp
cd MyComponent
fprime-util build