Skip to content

Commit

Permalink
Updates to match jeffersonlab/python-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
apcarp committed Feb 14, 2025
1 parent 1849be3 commit c63d5d5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CD

on:
push:
branches: [ main ]
paths:
- 'src/rfscopedb/__version__.py'

jobs:
release:
uses: jeffersonlab/python-workflows/.github/workflows/gh-release.yaml@v3

docs_publish:
needs:
- release
uses: jeffersonlab/python-workflows/.github/workflows/gh-pages-publish.yaml@v3
with:
semvertag: ${{ needs.release.outputs.semvertag }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ git clone https://github.com/JeffersonLab/rfscopedb
cd rfscopedb
python3.11 -m venv venv
venv/bin/activate
pip install -e .[dvl]
pip install -e .[dev]
```

*Windows*
Expand All @@ -49,7 +49,7 @@ git clone https://github.com/JeffersonLab/rfscopedb
cd rfscopedb
python3.11 -m venv venv
venv/bin/activate.ps1
pip install -e .[dvl]
pip install -e .[dev]
```

To start the provided database.
Expand All @@ -71,7 +71,7 @@ Integration tests required that the provided docker container(s) are running.
### Documentation
Documentation is done in Sphinx. To build documentation, run this commands from the project root.
```
sphinx-build -b html docsrc/source docsrc/build/docs
sphinx-build -b html docsrc/source build/docs
```

If releasing a new version, copy docsrc/build/docs to a version named directory in the gh-pages branch. Commit and push
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
dvl = [
dev = [
'coverage >= 7.6, < 8.0',
'pytest >= 8.3, < 9.0',
'build >= 1.2, < 2.0',
Expand Down
2 changes: 1 addition & 1 deletion src/rfscopedb/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.0'
__version__ = '0.2.1'

0 comments on commit c63d5d5

Please sign in to comment.