Skip to content

Commit

Permalink
Merge pull request #267 from UC-Davis-molecular-computing/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dave-doty authored Aug 16, 2023
2 parents 4d0c152 + 2001152 commit 186a488
Show file tree
Hide file tree
Showing 13 changed files with 3,239 additions and 2,505 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: "Docs Check"
on: pull_request

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Sphinx
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_rtd_theme
- name: Move to docs folder and build
run: |
cd doc
pwd
sphinx-build -T -E -W -b html . _build
name: "Docs Check"
on: pull_request

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Sphinx
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_rtd_theme openpyxl
- name: Move to docs folder and build
run: |
cd doc
pwd
sphinx-build -T -E -W -b html . _build
56 changes: 28 additions & 28 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Run Unit Tests

on: pull_request

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: true
- name: Install xlwt, xlrd, tabulate with conda
run: conda install xlwt=1.3.0 xlrd=2.0.1 tabulate=0.8.9
- name: Install docutils with conda
run: conda install docutils=0.16
- name: Test with unittest
run: python -m unittest -v tests/scadnano_tests.py
name: Run Unit Tests

on: pull_request

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: true
- name: Install openpyxl,tabulate with conda
run: conda install openpyxl=3.0.10 tabulate=0.8.10
- name: Install docutils with conda
run: conda install docutils=0.16
- name: Test with unittest
run: python -m unittest -v tests/scadnano_tests.py
Loading

0 comments on commit 186a488

Please sign in to comment.