Skip to content

Commit c105fe5

Browse files
authored
Update test-meltingpot.yml
1 parent c6b9b19 commit c105fe5

File tree

1 file changed

+79
-27
lines changed

1 file changed

+79
-27
lines changed

.github/workflows/test-meltingpot.yml

Lines changed: 79 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,86 @@ concurrency:
3030
permissions: read-all
3131

3232
jobs:
33-
pytest:
34-
name: Test Melting Pot
35-
runs-on: ${{ matrix.os }}
36-
env:
37-
SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279.
38-
timeout-minutes: 180
39-
strategy:
40-
fail-fast: ${{ github.event_name != 'workflow_dispatch' }}
41-
matrix:
42-
os:
43-
- macos-12
44-
- ubuntu-20.04
45-
python-version:
46-
- '3.11'
47-
steps:
48-
- name: Checkout Melting Pot
49-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
33+
# pytest:
34+
# name: Test Melting Pot
35+
# runs-on: ${{ matrix.os }}
36+
# env:
37+
# SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279.
38+
# timeout-minutes: 180
39+
# strategy:
40+
# fail-fast: ${{ github.event_name != 'workflow_dispatch' }}
41+
# matrix:
42+
# os:
43+
# - macos-12
44+
# - ubuntu-20.04
45+
# python-version:
46+
# - '3.11'
47+
# steps:
48+
# - name: Checkout Melting Pot
49+
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
50+
51+
# - name: Install Melting Pot
52+
# uses: ./.github/actions/install-meltingpot
53+
# with:
54+
# python-version: ${{ matrix.python-version }}
55+
56+
# - name: Test Melting Pot
57+
# run: pytest meltingpot
58+
59+
# - name: Run PyLint on Melting Pot
60+
# run: pylint --errors-only meltingpot
5061

51-
- name: Install Melting Pot
52-
uses: ./.github/actions/install-meltingpot
53-
with:
54-
python-version: ${{ matrix.python-version }}
62+
# - name: Run PyType on Melting Pot
63+
# run: pytype meltingpot
64+
preinstall-concordia:
65+
name: Preinstall Concordia
66+
runs-on: ubuntu.latest
67+
timeout-minutes: 30
68+
steps:
69+
# - name: Checkout Concordia
70+
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
71+
# - name: Install Concordia
72+
# uses: ./.github/actions/install-concordia
73+
- run: exit 0
5574

56-
- name: Test Melting Pot
57-
run: pytest meltingpot
75+
test-concordia:
76+
name: Test Concordia
77+
needs: preinstall-concordia
78+
runs-on: ubuntu.latest
79+
timeout-minutes: 30
80+
steps:
81+
# - name: Checkout Concordia
82+
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
83+
# - name: Install Concordia
84+
# uses: ./.github/actions/install-concordia
85+
# - name: Typecheck Concordia
86+
# run: pytest concordia
87+
- run: exit 0
5888

59-
- name: Run PyLint on Melting Pot
60-
run: pylint --errors-only meltingpot
89+
pytype-concordia:
90+
name: Typecheck Concordia
91+
needs: preinstall-concordia
92+
runs-on: ubuntu.latest
93+
timeout-minutes: 30
94+
steps:
95+
# - name: Checkout Concordia
96+
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
97+
# - name: Install Concordia
98+
# uses: ./.github/actions/install-concordia
99+
# - name: Typecheck Concordia
100+
# run: pytype concordia
101+
- run: exit 1
61102

62-
- name: Run PyType on Melting Pot
63-
run: pytype meltingpot
103+
pylint-concordia:
104+
name: Lint Concordia
105+
needs: preinstall-concordia
106+
runs-on: ubuntu.latest
107+
timeout-minutes: 30
108+
steps:
109+
# - name: Checkout Concordia
110+
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
111+
# - name: Install Concordia
112+
# uses: ./.github/actions/install-concordia
113+
# - name: Lint Concordia
114+
# run: pylint --errors-only concordia
115+
- run: exit 1

0 commit comments

Comments
 (0)