refactoried build file
This commit is contained in:
@@ -12,17 +12,19 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.11
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v2
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: server
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
pip install -r requirements.txt
|
||||
poetry Install
|
||||
|
||||
- name: Lint with black
|
||||
working-directory: server
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user