Refactor CI workflow and add poetry configuration #2
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: CI-TEST | ||
on: pull_request | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: flask-project | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- name: Run image | ||
uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: 1.7.1 | ||
- name: install dependencies | ||
with: | ||
path: flask-project | ||
run: poetry install | ||
Check failure on line 21 in .github/workflows/ci.yml GitHub Actions / CI-TESTInvalid workflow file
|