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

Bump actions/setup-python from 5.0.0 to 5.1.0 in /.github/actions/install-meltingpot #73

Closed
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
2 changes: 1 addition & 1 deletion .github/actions/install-meltingpot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:

- name: Set up Python ${{ inputs.python-version }}
id: setup-python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: ${{ inputs.python-version }}

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/sdist-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# A workflow to test the sdist that will be released to PyPI

name: sdist-test

on:
workflow_dispatch:

permissions: read-all

jobs:
sdist-test:
name: Test sdist
runs-on: ubuntu-latest
timeout-minutes: 90

steps:
- name: Checkout Melting Pot
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Build source distribution
run: python setup.py sdist

- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: '3.11'

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install pytest-xdist setuptools

- name: Install source distribution
run: |
pip install dist/*.tar.gz

- name: Test source distribution
run: |
pytest -n auto --pyargs meltingpot
Loading