Skip to content

Commit

Permalink
Update pythonpackage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg authored Dec 16, 2023
1 parent 00bdea7 commit d9116c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e . --config-settings editable_mode=compat --use-pep517
pip install .
pip install -r requirements.txt
- name: flake8
run: flake8 dedupe tests benchmarks/benchmarks
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e . --config-settings editable_mode=compat --use-pep517
pip install .
- name: Install test dependencies
run: pip install -r requirements.txt
- name: pytest
Expand All @@ -60,7 +60,7 @@ jobs:
# Do everything twice: The first time is training and generates settings,
# the second time it tests using a static settings file.
run: |
python -m pip install -e ./benchmarks
python -m pip install ./benchmarks
python benchmarks/benchmarks/canonical.py
python benchmarks/benchmarks/canonical.py
python benchmarks/benchmarks/canonical_matching.py
Expand All @@ -78,16 +78,16 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e . --config-settings editable_mode=compat
python -m pip install -e ./benchmarks
pip install .
python -m pip install ./benchmarks
- name: Run on canonical on main
run: python benchmarks/benchmarks/canonical.py
- name: checkout this PR branch
uses: actions/checkout@v2
with:
clean: false
- name: Install any new dependencies
run: pip install -e . --config-settings editable_mode=compat --use-pep517
run: pip install .
- name: Run on canonical with setting file created on main
run: python benchmarks/benchmarks/canonical.py
wheels:
Expand Down

0 comments on commit d9116c2

Please sign in to comment.