Use docstring to describe the api path #67
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
name: Run Tests | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create .env file | |
run: cat env.* > .env | |
- name: Load .env file | |
uses: xom9ikk/[email protected] | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'poetry' | |
- run: poetry install | |
- name: setup pytest.ini | |
run: mv .github/pytest.ini pytest.ini | |
- name: Linting | |
run: poetry run ruff check | |
- name: Run tests | |
env: | |
CI: "true" | |
run: poetry run pytest |