Skip to content

Commit

Permalink
Merge pull request #7 from aai-institute/feature/workflow-docs
Browse files Browse the repository at this point in the history
Feature/workflow docs
  • Loading branch information
samuelburbulla committed Nov 20, 2023
2 parents d510b67 + c42a150 commit 872663d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.11"

- name: Run pre-commits
uses: pre-commit/[email protected]
28 changes: 28 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: docs
on:
push:
branches:
- main
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
- run: mkdocs gh-deploy --force
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]

timeout-minutes: 20

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
fail-fast: false
matrix:
os: ["macos-latest"]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]

timeout-minutes: 20

Expand Down Expand Up @@ -85,10 +85,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.11"

- name: Install dependencies
run: |
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<div align="center">

<img alt="Continuity" src="https://raw.githubusercontent.com/aai-institute/Continuity/main/docs/img/logo.png">
<img alt="Continuity" src="https://aai-institute.github.io/Continuity/img/logo.png" width="200">

Mapping continuous functions with neural networks.

<a href="https://pytorch.org/get-started/locally/">
<img alt="PyTorch" src="https://img.shields.io/badge/PyTorch-ee4c2c?logo=pytorch&logoColor=white">
</a>
<a href="https://aai-institute.github.io/Continuity/">
<img alt="Documentation" src="https://img.shields.io/badge/Documentation-blue">
</a>
<a href="https://github.com/aai-institute/Continuity/actions/workflows/test.yml">
<img alt="Test" src="https://github.com/aai-institute/Continuity/actions/workflows/test.yml/badge.svg">
</a>
</div>

# Description
Expand Down

0 comments on commit 872663d

Please sign in to comment.