remove case sensitivity #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.6", "3.7", "3.8", "3.9"] | |
container: | |
image: python:${{ matrix.python }} | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v2 | |
- name: virtualenv for poetry | |
run: python -m venv ~/.poetry && ~/.poetry/bin/pip install --upgrade pip | |
- name: install poetry in virtualenv | |
run: ~/.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: black | |
run: black --check . | |
- name: flake8 | |
run: flake8 | |
- name: pytest | |
run: pytest --cov=ragdoll --cov-report term-missing tests/ | |
- name: build | |
run: ~/.poetry/bin/poetry build |