Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '1 7 * * *'

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9, 3.14]

steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python tests/unit_tests.py -v

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mistlib
numpy
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import os
from setuptools import setup

path = os.path.dirname(os.path.realpath(__file__))
requirement_path = os.path.join(path, "requirements.txt")
requires = []
with open(requirement_path) as f:
requires = f.read().splitlines()

setup(
name='ramenlib',
version='0.1.0',
Expand All @@ -9,9 +16,7 @@
author_email='dewittsj@ornl.gov',
license='ORNL Internal Software - Currently unlicensed',
packages=['ramenlib'],
install_requires=[ 'mistlib',
"numpy"
],
install_requires=requires,

classifiers=[
'Development Status :: 1 - Planning',
Expand Down
Loading