update docs dependencies #26
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python | |
run: sudo apt-get update && sudo apt-get install -y python3.10-dev python3.10-venv | |
- name: Install Poetry | |
run: | | |
sudo mkdir -p /usr/local/poetry | |
sudo python3.10 -m venv /usr/local/poetry | |
sudo /usr/local/poetry/bin/pip install poetry==1.6 | |
sudo ln -s /usr/local/poetry/bin/poetry /bin/poetry | |
export PATH=/bin:$PATH | |
- name: Install Package | |
run: poetry install | |
- name: Test Package | |
run: cp .env.example .env && poetry run pytest |