Skip to content

Commit

Permalink
playing with matrix again ##
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocat93 committed Sep 17, 2024
1 parent 8577d6d commit c1b7c03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
virtualenvs-in-project: true
- name: Install dependencies with Poetry
run: |
poetry install --no-interaction
poetry install --no-interaction --no-root
shell: bash
- name: Run unit tests
run: poetry run pytest
21 changes: 6 additions & 15 deletions .github/workflows/ubuntu_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,23 @@ jobs:
run: |
python --version
which python
- name: Check if Poetry is installed
id: check-poetry
run: |
if command -v poetry &> /dev/null; then
echo "::set-output name=poetry_installed::true"
else
echo "::set-output name=poetry_installed::false"
fi
- name: Install Poetry
if: steps.check-poetry.outputs.poetry_installed == 'false'
uses: snok/install-poetry@v1
with:
poetry-version: latest
poetry-version: 1.7.1
- name: Check space
run: |
echo "available space: "
df -h
- name: Check poetry version
run: |
poetry env info
poetry --version
- name: Install dependencies with Poetry
run: |
poetry env use ${{ matrix.python-version }}
poetry install
poetry install --no-interaction --no-root
shell: bash
- name: Check poetry version
run: |
poetry env info
poetry --version
- name: Display NVIDIA SMI details
run: |
poetry run nvidia-smi
Expand Down

0 comments on commit c1b7c03

Please sign in to comment.