Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,27 @@ jobs:
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get upgrade -y --no-install-recommends
sudo apt-get install -y libenchant-2-2
sudo apt-get upgrade -y --no-install-recommends
sudo apt-get install -y --fix-missing \
nodejs \
libenchant-2-2 \
pandoc \
zip
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt
python3 -m pip install wheel
python3 -m pip install setuptools wheel
- name: Run integrity checks
run: |
./scripts/version.sh
pycodestyle --format=pylint archivist examples functests unittests
python3 -m pylint archivist examples functests unittests
python3 -m pyright archivist
black archivist examples unittests functests
./scripts/zipnotebooks.sh
(cd docs && make clean && make html)
modified=$(git status -s | wc -l)
if [ $modified -gt 0 ]
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get upgrade -y --no-install-recommends
sudo apt-get install -y libenchant-2-2
sudo apt-get install -y --fix-missing \
nodejs \
libenchant-2-2 \
pandoc \
zip
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
Expand All @@ -38,16 +42,14 @@ jobs:
run: |
rm -f archivist/about.py
./scripts/version.sh
cat archivist/about.py
python3 -m build --sdist
python3 -m build --wheel
twine check dist/*
twine upload dist/*
- name: Build docs
run: |
ls -l
cd ./docs
make html
./scripts/zipnotebooks.sh
(cd docs && make clean && make html)
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ dist/
htmlcov/
coverage.xml
.ipython/
.jupyter/
.cache/
.local/
.python_history
Expand All @@ -19,6 +18,7 @@ coverage.xml
.pip-audit-cache/
*.pyi
.vscode
rkvst-venv/
stuntidp*
.npm/
functest-results/
Loading