Skip to content

Commit

Permalink
Merge branch 'master' into Observer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sugaravel committed Mar 30, 2024
2 parents 59ccb91 + 76a038b commit e8d2078
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Python Tests

on:
# pull_request: {}
# push: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run pytest
run: |
pip install pytest
pytest
2 changes: 1 addition & 1 deletion Projekat.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
while running:
x, y = pygame.mouse.get_pos()
for event in pygame.event.get():
if (event.type == pygame.KEYDOWN and event.key == pygame.K_u) or event.type==pygame.QUIT:
if (event.type == pygame.KEYDOWN and event.key == pygame.K_u) or (event.type==pygame.QUIT):
running = False
if event.type == pygame.KEYDOWN and event.key == pygame.K_w:
window_menager.add_prozor()
Expand Down
Binary file removed __pycache__/Klase.cpython-310.pyc
Binary file not shown.

0 comments on commit e8d2078

Please sign in to comment.