Skip to content

Bump jinja2 from 3.1.3 to 3.1.4 #99

Bump jinja2 from 3.1.3 to 3.1.4

Bump jinja2 from 3.1.3 to 3.1.4 #99

Workflow file for this run

name: CICD
on:
push:
pull_request:
types: [opened]
workflow_dispatch:
release:
types: [created]
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
cache: 'poetry'
- run: make install
- run: make precommit
docs:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v4
- run: pip install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
cache: 'poetry'
- run: make install
- run: make docs
- run: make pushdocs
if: |
github.event_name == 'release' || github.ref == 'refs/heads/master'
build_and_publish:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v4
- run: pip install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
cache: 'poetry'
- run: make install
- run: make build
- name: Publish
run: make publish
if: github.event_name == 'release'
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}