Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aradi committed Sep 28, 2024
1 parent 238849a commit a1b12f9
Show file tree
Hide file tree
Showing 28 changed files with 3,928 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ci

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

env:
INTERFACE: serial

jobs:

#
# Test Fortuno in various system configurations
#
fortuno-test:

runs-on: ubuntu-latest

steps:

- name: Check-out code
uses: actions/checkout@v4

- name: Setup Intel compiler
uses: rscohn2/setup-oneapi@v0
with:
components: |
ifx
- name: Setup Intel environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> ${GITHUB_ENV}
echo "FPM_FC=ifx" >> ${GITHUB_ENV}
- name: Setup build tools
run: |
pip install fpm
- name: Test fpm export
run: |
fpm run -C test/export/${INTERFACE} testapp
11 changes: 11 additions & 0 deletions fpm.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name = "fortuno"
version = "0.1.0"
license = "BSD-2-Clause-Patent"
author = "Fortuno authors"
maintainer = "aradi@uni-bremen.de"
copyright = "Copyright 2024, Fortuno authors"

[fortran]
implicit-typing = false
implicit-external = false
source-form = "free"
20 changes: 20 additions & 0 deletions src/fortuno.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
! This file is part of Fortuno.
! Licensed under the BSD-2-Clause Plus Patent license.
! SPDX-License-Identifier: BSD-2-Clause-Patent

!> Interface module for the core library of the Fortuno testing framework
module fortuno
use fortuno_basetypes, only : test_base, test_case_base, test_item, test_list, test_ptr_item,&
& test_suite_base
use fortuno_chartypes, only : char_rep, char_rep_int, named_details, named_item, named_state
use fortuno_consolelogger, only : console_logger
use fortuno_testcontext, only : context_factory, test_context
use fortuno_checkers, only : is_equal
use fortuno_cmdapp, only : cmd_app
use fortuno_testdriver, only : init_test_driver, test_driver, test_runner, test_selection
use fortuno_testinfo, only : check_result, drive_result, failure_info, failure_location,&
& init_drive_result, init_failure_location, test_result, teststatus
use fortuno_utils, only : as_char, nl
implicit none

end module fortuno
Loading

0 comments on commit a1b12f9

Please sign in to comment.