Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
edit steps - remove some (seemingly) redundancies
  • Loading branch information
UriaMorP authored Dec 14, 2023
1 parent 2048636 commit 54ef650
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: pip install dependencies [pip]
if: ${{ matrix.python-version >= 3.7 }}
run: |
python -m pip install pip --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
# - name: pip install dependencies [pip]
# if: ${{ matrix.python-version >= 3.7 }}
# run: |
# python -m pip install pip --upgrade pip
# pip install pytest
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# pip install -e .

- name: pip install dependencies 36 [pip]
if: ${{ matrix.python-version < 3.7 }}
- name: pip install dependencies [pip]
# if: ${{ matrix.python-version < 3.7 }}
run: |
python -m pip install pip --upgrade pip
pip install pytest
python -m pip install pip --upgrade pip;
pip install pytest;
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ ${{ matrix.python-version }} == 3.6 ]; then pip install dataclasses>=0.7; fi
if [ ${{ matrix.python-version }} == 3.6.8 ]; then pip install dataclasses>=0.7; fi
pip install -e .
- name: unit tests [pytest]
Expand Down

0 comments on commit 54ef650

Please sign in to comment.