Skip to content

Commit

Permalink
Update test-meltingpot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Sep 12, 2024
1 parent c6b9b19 commit c105fe5
Showing 1 changed file with 79 additions and 27 deletions.
106 changes: 79 additions & 27 deletions .github/workflows/test-meltingpot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,86 @@ concurrency:
permissions: read-all

jobs:
pytest:
name: Test Melting Pot
runs-on: ${{ matrix.os }}
env:
SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279.
timeout-minutes: 180
strategy:
fail-fast: ${{ github.event_name != 'workflow_dispatch' }}
matrix:
os:
- macos-12
- ubuntu-20.04
python-version:
- '3.11'
steps:
- name: Checkout Melting Pot
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
# pytest:
# name: Test Melting Pot
# runs-on: ${{ matrix.os }}
# env:
# SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279.
# timeout-minutes: 180
# strategy:
# fail-fast: ${{ github.event_name != 'workflow_dispatch' }}
# matrix:
# os:
# - macos-12
# - ubuntu-20.04
# python-version:
# - '3.11'
# steps:
# - name: Checkout Melting Pot
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

# - name: Install Melting Pot
# uses: ./.github/actions/install-meltingpot
# with:
# python-version: ${{ matrix.python-version }}

# - name: Test Melting Pot
# run: pytest meltingpot

# - name: Run PyLint on Melting Pot
# run: pylint --errors-only meltingpot

- name: Install Melting Pot
uses: ./.github/actions/install-meltingpot
with:
python-version: ${{ matrix.python-version }}
# - name: Run PyType on Melting Pot
# run: pytype meltingpot
preinstall-concordia:
name: Preinstall Concordia
runs-on: ubuntu.latest
timeout-minutes: 30
steps:
# - name: Checkout Concordia
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
# - name: Install Concordia
# uses: ./.github/actions/install-concordia
- run: exit 0

- name: Test Melting Pot
run: pytest meltingpot
test-concordia:
name: Test Concordia
needs: preinstall-concordia
runs-on: ubuntu.latest
timeout-minutes: 30
steps:
# - name: Checkout Concordia
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
# - name: Install Concordia
# uses: ./.github/actions/install-concordia
# - name: Typecheck Concordia
# run: pytest concordia
- run: exit 0

- name: Run PyLint on Melting Pot
run: pylint --errors-only meltingpot
pytype-concordia:
name: Typecheck Concordia
needs: preinstall-concordia
runs-on: ubuntu.latest
timeout-minutes: 30
steps:
# - name: Checkout Concordia
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
# - name: Install Concordia
# uses: ./.github/actions/install-concordia
# - name: Typecheck Concordia
# run: pytype concordia
- run: exit 1

- name: Run PyType on Melting Pot
run: pytype meltingpot
pylint-concordia:
name: Lint Concordia
needs: preinstall-concordia
runs-on: ubuntu.latest
timeout-minutes: 30
steps:
# - name: Checkout Concordia
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
# - name: Install Concordia
# uses: ./.github/actions/install-concordia
# - name: Lint Concordia
# run: pylint --errors-only concordia
- run: exit 1

0 comments on commit c105fe5

Please sign in to comment.