Skip to content

Commit 173de8f

Browse files
committed
moving dependencies in one place #12
1 parent 1cb4464 commit 173de8f

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/bibtex.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,18 @@ jobs:
2020
python-version: '3.12'
2121

2222
- name: Install packages
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install requests
26-
pip install bibtexparser --pre
23+
run: python -m pip install -r docs/web/requirements.txt
2724

2825
- name: Run script
29-
run: python ${{ github.workspace }}/tools/build_config/bibtexUpdate.py --bibtex-input ${{ github.workspace }}/docs/sumo.bib --bibtex-output ${{ github.workspace }}/docs/sumo.bib --cited-works "b1914c912dea62703856d89fe3724675a6139b71" "0e62ded610aeb17cc65f9f7159477e48248a98a2" --min-citations 100 --exclude-media "SUMO Conference Proceedings" "International Conference on Simulation of Urban Mobility" "arXiv.org"
26+
run: python tools/build_config/bibtexUpdate.py --bibtex-input docs/sumo.bib --bibtex-output docs/sumo.bib --cited-works "b1914c912dea62703856d89fe3724675a6139b71" "0e62ded610aeb17cc65f9f7159477e48248a98a2" --min-citations 100 --exclude-media "SUMO Conference Proceedings" "International Conference on Simulation of Urban Mobility" "arXiv.org"
3027

3128
- name: Pull request
3229
uses: peter-evans/create-pull-request@v8
3330
with:
3431
token: ${{ secrets.GITHUB_TOKEN }}
3532
commit-message: 'Update SUMO bibtex file #13811'
3633
title: 'Update SUMO bibtex file'
37-
add-paths: ${{ github.workspace }}/docs/sumo.bib
34+
add-paths: docs/sumo.bib
3835
draft: always-true
3936
base: main
4037
branch: sumo-patches

docs/web/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
bibtexparser
12
markdown>=3.3
23
mdx_gh_links
34
mdx_truly_sane_lists>=1.3
@@ -10,3 +11,4 @@ mkdocs-unused-files
1011
plantuml==0.3.0
1112
plantuml-markdown
1213
pymdown-extensions
14+
requests

0 commit comments

Comments
 (0)