Fixed action #3
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: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry==1.7.1 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.6' | |
cache: 'poetry' | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-ansi | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: pytest |