Skip to content

fix: Add missing test_api_calculations.py and CI/CD workflows #1

fix: Add missing test_api_calculations.py and CI/CD workflows

fix: Add missing test_api_calculations.py and CI/CD workflows #1

Workflow file for this run

name: Python CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy pandas matplotlib scipy
- name: Run script to check for errors
run: python Data_Package_FAIR2/Python_Code_API_Monte_Carlo.py --all --no_plot
- name: Run unit tests
run: python -m unittest Data_Package_FAIR2/test_api_calculations.py