Skip to content

Commit

Permalink
Add Validate Templates (nasa#2387)
Browse files Browse the repository at this point in the history
 - Add validate_templates.yml.
  • Loading branch information
rlcheng committed Oct 21, 2024
1 parent 3c5fd74 commit a3e7678
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/bootstrap.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
spawn fprime-bootstrap project
expect "Project name (MyProject):"
send -- "Project"
expect eof
33 changes: 33 additions & 0 deletions .github/workflows/validate_templates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: validate_templates-actions
run-name: ${{ github.actor }} running Validate Templates CI actions
on: [push]


jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Checkout F' Repository"
uses: actions/checkout@v4
with:
submodules: true
path: ${{ inputs.fprime_location }}
#- name: "Fprime Venv and Requirements Install"
# run: |
# python3 -m venv ./fprime-venv
# . ./fprime-venv/bin/activate
# pip3 install -r ${{ inputs.fprime_location }}./requirements.txt
- name: "Test boostrap"
run: |
pip install fprime-bootstrap
expect .github/workflows/bootstrap.exp
shell: bash
#
# fprime-bootstrap project
# cd project
# fprime-util new --deployment
# cd deployment
# fprime-util generate
# fprime-util build

0 comments on commit a3e7678

Please sign in to comment.