From 705fadf81d14e501859c46b6f09c56623b693d74 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Tue, 19 Sep 2023 11:45:20 +0100
Subject: [PATCH 1/2] Update ci.yml
---
.github/workflows/ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f541de2..fef5a77 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,9 +2,9 @@ name: Build
on:
push:
- branches: [ master, development ]
+ branches: [ master, development, test* ]
pull_request:
- branches: [ master, development ]
+ branches: [ master, development, test* ]
jobs:
build:
From 26853b1e9fdc31fad1e9ab8f9edb633e2cdf4570 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Tue, 19 Sep 2023 11:49:44 +0100
Subject: [PATCH 2/2] Don't test on 2.7; add pypi badge; add readthedocs yaml
---
.github/workflows/ci.yml | 3 ++-
.readthedocs.yaml | 15 +++++++++++++++
README.md | 1 +
3 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 .readthedocs.yaml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fef5a77..cd70745 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,8 +11,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
+ fail-fast: false
matrix:
- python-version: [2.7, 3.7, 3.8, 3.9]
+ python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000..ae78afd
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,15 @@
+version: 2
+
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.11"
+
+
+sphinx:
+ configuration: doc/conf.py
+
+
+python:
+ install:
+ - requirements: doc/requirements.txt
diff --git a/README.md b/README.md
index c85fa07..73b6aec 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
[![Build](https://github.com/LEMS/pylems/actions/workflows/ci.yml/badge.svg)](https://github.com/LEMS/pylems/actions/workflows/ci.yml)
[![Check LEMS examples](https://github.com/LEMS/pylems/actions/workflows/examples.yml/badge.svg)](https://github.com/LEMS/pylems/actions/workflows/examples.yml)
[![Documentation Status](https://readthedocs.org/projects/pylems/badge/?version=latest)](https://pylems.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/pylems)](https://pypi.org/project/pylems/)
A LEMS (http://lems.github.io/LEMS) simulator written in Python which can be used to run NeuroML2 (http://neuroml.org/neuroml2.php) models.