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

[SKIP CI] GitHub Actions: Use builtin Python and move dependencies to python-deps.txt #765

Merged
2 commits merged into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,15 @@ jobs:
steps:
# :-( https://github.community/t/support-for-yaml-anchors/16128
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
- uses: actions/setup-python@v2
- run: python --version

# Package index is "out of date by design"
# https://github.com/actions/virtual-environments/issues/1757
- name: apt-get -y update
run: sudo apt-get -y update

- name: get python libs
# FIXME: apt-get succeeds but 'import numpy' still fails!?
run: sudo apt-get -y install python3-numpy python3-scipy pylint
run: sudo apt-get -y install $(cat python-deps.txt)

- name: pylint
env:
Expand Down
3 changes: 3 additions & 0 deletions python-deps.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3-numpy
python3-scipy
pylint