Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCHED-715: Fix missing pyexplore dependency #479

Merged
merged 17 commits into from
Jul 29, 2024
Merged
4 changes: 4 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
env:
GH_PAT: ${{ secrets.GH_PAT }}

- name: Add $PYTHONPATH
run: echo "PYTHONPATH=/home/runner/work/scheduler/scheduler" >> $GITHUB_ENV

- name: Generate Report
env:
REDISCLOUD_URL : ${{ secrets.REDISCLOUD_URL }}
GPP_URL: ${{ secrets.GPP_URL }}
GPP_KEY: ${{ secrets.GPP_KEY }}
run: |
coverage run -m pytest
coverage xml
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
env:
GH_PAT: ${{ secrets.GH_PAT }}

- name: Add $PYTHONPATH
run: echo "PYTHONPATH=/home/runner/work/scheduler/scheduler" >> $GITHUB_ENV
run: echo "PYTHONPATH=$PYTHONPATH:/home/runner/work/scheduler/scheduler" >> $GITHUB_ENV

- name: Run Greedymax
env:
REDISCLOUD_URL: ${{ secrets.REDISCLOUD_URL }}
GPP_URL: ${{ secrets.GPP_URL }}
GPP_KEY: ${{ secrets.GPP_KEY }}
run: python scheduler/scripts/run_greedymax.py
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ mercury
bleach>=6.0.0
sortedcontainers
redis
git+https://${GH_PAT}@github.com/stroncod/pyexplore.git
Loading