Skip to content

Commit

Permalink
Add a ci job to run poetry checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc authored and pazz committed Nov 28, 2023
1 parent b25048e commit 76a2e82
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run code checks

on:
- push
- pull_request

jobs:

check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
check:
- poetry check
- poetry build

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4

- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Run check "${{ matrix.check }}"
run: "${{ matrix.check }}"

0 comments on commit 76a2e82

Please sign in to comment.