generated from ensaremirerol/nextjs-fastapi-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93317a5
commit 1edf502
Showing
3 changed files
with
33 additions
and
165 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Python Tests and Ruff | ||
|
||
on: [push] | ||
|
||
jobs: | ||
uv-example: | ||
name: python | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v4 | ||
|
||
- name: 'Set up Python' | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version-file: '.python-version' | ||
|
||
- name: Install dependencies | ||
run: | | ||
uv sync --all-extras --dev | ||
- name: Run tests with coverage | ||
run: | | ||
uv run coverage run -m unittest discover -v -s ./test -p "*_test.py" | ||
- name: Run Ruff | ||
run: uv run ruff check --output-format=github . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ description = "A Python project for RDF crafting" | |
authors = [ | ||
{ name = "Ensar Emir EROL", email = "[email protected]" } | ||
] | ||
requires-python = "==3.12.7" | ||
|
||
dependencies = [ | ||
"annotated-types==0.7.0", | ||
|
Oops, something went wrong.