Skip to content

Commit

Permalink
Fix case study run (prob-ml#714)
Browse files Browse the repository at this point in the history
* use python 3.10 because why not

* pipx was not the issue, seems to be in the setup. let's try pipx with force

* updates that might help

* correct vresion
  • Loading branch information
ismael-mendoza committed Jan 18, 2023
1 parent 9a4c792 commit 25d625e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/case_studies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,20 @@ jobs:

strategy:
matrix:
python-version: [3.8]
python-version: ["3.10"]

steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: true

- name: Install poetry
run: |
pip install --upgrade pip
pip install "poetry-core>=1.0.0"
pip install "poetry>=1.2.2"
pipx install poetry --force
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
Expand All @@ -20,7 +20,7 @@ jobs:
run: pipx install poetry

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: ["3.10"]

steps:
- name: Checkout github repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Create environment variables
run: echo "BLISS_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
Expand All @@ -22,7 +22,7 @@ jobs:
run: pipx install poetry

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:

strategy:
matrix:
python-version: [3.8]
python-version: ["3.10"]

steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: true

- name: Install poetry
run: pipx install poetry

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
poetry run pytest --cov=./bliss --cov-report=xml --durations=0
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
files: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
Expand Down

0 comments on commit 25d625e

Please sign in to comment.