Skip to content

Commit

Permalink
Use a requirements file to cache pip
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Sep 10, 2024
1 parent f496711 commit 6537e80
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: .github/workflows/requirements.txt

- name: Install dependencies
run: |
pip install pylint "git+https://github.com/gabryelreyes/SerialMuxProt.git#egg=SerialMuxProt&subdirectory=python/SerialMuxProt"
run: pip install -r .github/workflows/requirements.txt

- name: Analysing the code with pylint
run: |
pylint ./webots/controllers/*/*.py
run: pylint ./webots/controllers/*/*.py
10 changes: 10 additions & 0 deletions .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platformio==6.1.15
numpy==1.26.4
tensorflow==2.10.0
tensorflow-probability==0.15.0
keras==2.10.0
matplotlib==3.9.0
pandas==2.2.2
pytest==8.3.2
pylint==3.2.7
git+https://github.com/gabryelreyes/SerialMuxProt.git#egg=SerialMuxProt&subdirectory=python/SerialMuxProt

0 comments on commit 6537e80

Please sign in to comment.