Skip to content

docs: redesigned docs site (#812) #294

docs: redesigned docs site (#812)

docs: redesigned docs site (#812) #294

Workflow file for this run

---
name: Stage
on:
workflow_dispatch:
push:
branches:
- dev
paths-ignore:
- ".github"
- ".vscode"
jobs:
stage:
runs-on: ubuntu-latest
environment: staging
name: Stage project
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup timezone
uses: zcong1993/setup-timezone@v2.0.0
with:
timezone: Asia/Jerusalem
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Cache pip repository
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
- name: Prepare python environment
run: |
pip install -r requirements.txt
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
- name: Cache poetry virtual environment
uses: actions/cache@v3
with:
path: .venv
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}
- name: Install, test with coverage report, and build
run: |
poetry install --no-interaction
poetry run poe test_rep
poetry build
- name: Push to CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
fail_ci_if_error: true