diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..3afce9b --- /dev/null +++ b/.github/workflows/CI.yml @@ -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