Skip to content

Commit

Permalink
Fix example path
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 4, 2024
1 parent d521a1c commit 36eb4ec
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,24 @@ jobs:
fail-fast: false
matrix:
example: [
"dps_example.py",
"example_decorators.py",
"example_prallelization.py",
"example.py",
"Basic/dps_example.py",
"Basic/example_decorators.py",
"Basic/example_prallelization.py",
"Basic/example.py",
"Eijgenraam/eijgenram.py"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
- name: Get minimum Python version
run: |
PYTHON_VERSION=$(cat pyproject.toml | grep "requires-python" | grep -Eo "[0-9]+\.[0-9]+")
echo "PYTHON_VERSION=${PYTHON_VERSION}" >> $GITHUB_ENV
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.PYTHON_VERSION }}
cache: "pip"

- name: Install dependencies
Expand Down

0 comments on commit 36eb4ec

Please sign in to comment.