Skip to content

Commit

Permalink
CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasibalic committed Dec 29, 2023
1 parent 6929420 commit 2cd7548
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 100 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ci

on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV


- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: |
pip install mkdocs-material
pip install poetry
poetry install
- run: poetry run mkdocs gh-deploy --force
144 changes: 45 additions & 99 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "ifigures"}]


[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
matplotlib = "^3.6.2"
Pillow = "^9.4.0"
pngquant = "^1.0.7"
Expand All @@ -20,6 +20,7 @@ mkdocs-glightbox = "^0.3.5"
mkdocs-git-revision-date-localized-plugin = "^1.2.2"
mkdocs-git-committers-plugin-2 = "^2.2.2"
pngquant-cli = "^2.17.0.post5"
numpy = "^1.26.2"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 2cd7548

Please sign in to comment.