Skip to content

Commit

Permalink
Use poetry in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGrosjean authored Sep 27, 2024
1 parent daf1be5 commit 8ea21f2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/flake8_test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,18 @@ on:
branches: [ master ]

jobs:
build:

ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coverage genbadge[all]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Install the project dependencies
run: poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 8ea21f2

Please sign in to comment.