Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [ main ]
pull_request:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: pip install pytest

- name: Run tests
run: pytest
1 change: 1 addition & 0 deletions Bobrikov/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hello, git!
2 changes: 2 additions & 0 deletions Bobrikov/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def hello():
return "Hello, CI/CD!"
5 changes: 5 additions & 0 deletions Bobrikov/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from main import hello


def test_hello():
assert hello() == "Hello, CI/CD!"