Skip to content

Commit

Permalink
Add basic workflow and requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
KazKozDev committed Nov 10, 2024
1 parent 7b31e2e commit 6063c25
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python Application CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
aiohttp>=3.8.0
asyncio>=3.4.3
python-dotenv>=0.19.0
logging>=0.5.1.2
dataclasses>=0.6
typing>=3.7.4
pytest>=7.0.0
pytest-asyncio>=0.20.0
pytest-aiohttp>=1.0.4

0 comments on commit 6063c25

Please sign in to comment.