Skip to content

Fortran Package Verification #104

Fortran Package Verification

Fortran Package Verification #104

# Github action to build and verify the fortran packages
#
name: Fortran Package Verification
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- uses: fortran-lang/setup-fpm@v5
with:
fpm-version: 'v0.10.2'
github-token: ${{ secrets.GITHUB_TOKEN }}
fpm-repository: https://github.com/henilp105/fpm
- name: Setup Python
uses: actions/setup-python@v5
- name: Install python libraries
run: pip3 install --user -r backend/requirements.txt
- name: temporary folder for fortran packages
run: cd backend/static && mkdir temp
- name: load env file
run: |
echo "${{ secrets.ENV_FILE }}" > backend/.env
- name: validate fortran packages
run: cd backend && python validate.py