Skip to content

Make django settings easier. change naming patterns. (#5) #106

Make django settings easier. change naming patterns. (#5)

Make django settings easier. change naming patterns. (#5) #106

Workflow file for this run

on: push
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: --all
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10", "3.11"]
container:
image: python:${{ matrix.python }}
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install poetry
run: python -m venv ~/.poetry && ~/.poetry/bin/pip install --upgrade pip && ~/.poetry/bin/pip install poetry
- name: install python dependencies
run: ~/.poetry/bin/poetry install
- name: allow access to the virtualenv
run: echo PATH="$(~/.poetry/bin/poetry run printenv VIRTUAL_ENV)/bin:${PATH}" >> $GITHUB_ENV
- name: pytest
run: pytest --cov=ragdoll --cov-report term-missing tests/
- name: build
run: ~/.poetry/bin/poetry build