Skip to content

Commit

Permalink
Fixing python tests (#427)
Browse files Browse the repository at this point in the history
* Retrying to fix python tests

* Updating path
  • Loading branch information
diegoarceof authored Oct 11, 2024
1 parent ed9c7f4 commit 76c2123
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,30 @@ jobs:
- uses: actions/checkout@v2
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Creating virtual environment
run: |
sudo apt install python3-venv
python3 -m venv .venv
working-directory: "python"
- name: Configure Poetry with PyPI token
run: |
source .venv/bin/activate
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
working-directory: "python"
- name: Debug Poetry Config
run: |
source .venv/bin/activate
poetry config --list
working-directory: "python"
- name: Install dependencies
run: |
source .venv/bin/activate
poetry install --no-interaction
pip install .
working-directory: "python"
- name: Install pyteset
run: |
source .venv/bin/activate
pip install pytest
working-directory: "python"
- name: Run tests
Expand Down

0 comments on commit 76c2123

Please sign in to comment.