Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Setup tooling and CI infrastructure 🚇 #5

Open
jsnel opened this issue Sep 19, 2021 · 0 comments
Open

🔧 Setup tooling and CI infrastructure 🚇 #5

jsnel opened this issue Sep 19, 2021 · 0 comments
Assignees

Comments

@jsnel
Copy link
Member

jsnel commented Sep 19, 2021

Setting up tooling and CI infrastructure

Description

This repository will contain notebooks and/or (supporting) scripts which should be executable to provide some form of output (a figure or a notebook which can be rendered as PDF or displayed (previewed) in a browser). New examples will be added through pull-requests to this repository, which means we need to have some infrastructure in place to automatically check new code added (does it run, does it produce output, is the code style ok).

To test the CI I suggest that either in the same PR, or in a follow-up PR, we add a TEMPLATE, _template, naming things is hard, folder which contains a sample directory structure which can be checked by the CI. This idea is a notebook + basic supporting script (which generates simulated data to be fitted), a data folder containing a dataset.

Requirements

Core actions

  • pre-commit.ci
  • Tests ?

Code runners:

  • Run Notebooks / Run Notebook:

Optional (appropriate ones):

  • Codeowners Validator (add a codeowner per publication project folder)
  • Codacy Static Code Analysis
  • LGTM analysis: Python
  • SonarCloud Code Analysis
  • Sourcery

Proposed repository layout:

  • README, LICENSE, etc
  • TEMPLATE
    • data
      • data.ascii
    • notebook.ipynb
    • (notebook_n.ipynb)
    • (supporting_script.py)
  • 2021
    • following structure in TEMPLATE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants