نسخ من Omar-268/flask_app
Update .github/workflows/main.yaml
هذا الالتزام موجود في:
24
.github/workflows/main.yaml
مباع
24
.github/workflows/main.yaml
مباع
@@ -7,9 +7,31 @@ on:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install pytest
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -q
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
build:
|
||||
|
||||
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم