Bump actions/checkout from 3.5.0 to 3.5.3 #348
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Continuous integration tests. | |
name: meltingpot-tests | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
pylint: | |
name: Lint Melting Pot | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: ${{ github.event_name != 'workflow_dispatch' }} | |
steps: | |
- name: Checkout Melting Pot | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 | |
with: | |
python-version: '3.9' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: Run PyLint | |
run: pylint --disable=C,W,R --recursive=y meltingpot examples | |
run-meltingpot-tests: | |
name: Test Melting Pot | |
runs-on: ${{ matrix.os }} | |
env: | |
SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279. | |
timeout-minutes: 90 | |
strategy: | |
fail-fast: ${{ github.event_name != 'workflow_dispatch' }} | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
python-version: | |
- '3.9' | |
steps: | |
- name: Checkout Melting Pot | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Lab2d | |
run: ./install-dmlab2d.sh | |
- name: Test Lab2d | |
run: ./test-dmlab2d.sh | |
- name: Install Melting Pot | |
run: ./install-meltingpot.sh | |
- name: Test Melting Pot | |
run: ./test-meltingpot.sh | |
- name: Install Extras | |
run: ./install-extras.sh | |
- name: Test Extras | |
run: ./test-extras.sh |