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

build on multiple platforms and python versions #7

Merged
merged 4 commits into from
Oct 13, 2022
Merged

build on multiple platforms and python versions #7

merged 4 commits into from
Oct 13, 2022

Conversation

koubaa
Copy link
Collaborator

@koubaa koubaa commented Oct 12, 2022

No description provided.

@koubaa koubaa changed the title build build on multiple platforms and python versions Oct 12, 2022
Comment on lines +52 to +68
- name: Linux pip cache
uses: actions/cache@v3
if: ${{ runner.os == 'Linux' }}
with:
path: ~/.cache/pip
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

- name: Window pip cache
uses: actions/cache@v3
if: ${{ runner.os == 'Windows' }}
with:
path: ~\AppData\Local\pip\Cache
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that actions/setup-python@v4 supports pip caching.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akaszynski I'll have to come back to it. I tried to use it and got this message:

No file in /home/runner/work/hollerith/hollerith matched to [**/requirements.txt], make sure you have checked out the target repository

@koubaa koubaa merged commit 6ef4595 into main Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants