Skip to content

Commit 7eb802b

Browse files
committed
Standardize python-projects: CI, License, Templates, Tests
1 parent a64d52e commit 7eb802b

File tree

6 files changed

+25
-0
lines changed

6 files changed

+25
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Python CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.11'
18+
- name: Install dependencies
19+
run: |
20+
pip install pytest
21+
- name: Run tests
22+
run: pytest -v

CONTRIBUTING.md

Whitespace-only changes.

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
MIT License
2+
Copyright (c) 2025 Parisa Mohammadzadeh

SECURITY.md

Whitespace-only changes.

pyproject.toml

Whitespace-only changes.

tests/test_basic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
def test_example():\n assert True

0 commit comments

Comments
 (0)