Skip to content

Commit

Permalink
chore(ci): move Python version into a file
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Sep 30, 2024
1 parent 29a1bb2 commit b4c9c85
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-generation-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: setup python 3
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version-file: .python-version

- name: install dependencies
run: pip3 install -r requirements-dev.txt -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: setup python 3
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version-file: .python-version

- name: install dependencies
run: pip3 install -r requirements-dev.txt -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: setup python 3
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version-file: .python-version

- name: install dependencies
run: pip3 install -r requirements-dev.txt -r requirements.txt
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ flycheck_*.el
# network security
/network-security.data


### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
Expand Down Expand Up @@ -245,9 +244,6 @@ docs/_build/
# PyBuilder
target/

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10

0 comments on commit b4c9c85

Please sign in to comment.