Skip to content

Commit

Permalink
Create CI.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
irukoa authored Feb 10, 2024
1 parent f0e615f commit 877b412
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Testing suite

on:
schedule:
- cron: "0 11 * * 1"
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup gfortran
run: |
sudo apt-get update
sudo apt-get install \
gfortran \
- name: Setup FPM
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build WannInt
run: |
fpm run main
- name: Test WannInt
run: |
fpm test

0 comments on commit 877b412

Please sign in to comment.