Skip to content

docs: adds banner artwork for future updates #75

docs: adds banner artwork for future updates

docs: adds banner artwork for future updates #75

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
env:
SETUPTOOLS_USE_DISTUTILS: stdlib
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: pre-commit/[email protected]
test:
needs: validate
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with lint,dev,docs
- name: Install NPM
run: poetry install --no-interaction --with lint,dev,docs
- name: Test with Coverage
run: poetry run pytest --cov=. --cov-report=xml
if: matrix.python-version == '3.11'
- uses: actions/upload-artifact@v3
with:
name: coverage-xml
path: coverage.xml
if: matrix.python-version == '3.11'
codeql:
needs: test
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
- name: Checkout repository
uses: actions/checkout@v3
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2