Skip to content

Commit

Permalink
ci: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed May 9, 2024
1 parent 2ff049b commit 6991b61
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,29 @@ permissions:
contents: read

jobs:
build:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
- name: Checkout
uses: actions/checkout@v3

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Install Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
cache: "poetry"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: pytest .
run: poetry install --no-interaction --no-root

- name: Run tests
run: make test

0 comments on commit 6991b61

Please sign in to comment.