Merge pull request #207 from OpenCOMPES/dependabot-test #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate requirements.txt for readthedocs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
generate-requirements: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Export requirements.txt | |
run: poetry export --without-hashes --format=requirements.txt -o docs/requirements.txt -E docs -E notebook |