Skip to content

Commit 076d67b

Browse files
make perf test a seprate job
1 parent 8a408c3 commit 076d67b

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Check modified protos
6464
run: ci/build_changed_protos.sh origin/main
6565

66-
buid-and-test:
66+
buid-and-test-correctness:
6767
strategy:
6868
fail-fast: false
6969
matrix:
@@ -91,14 +91,36 @@ jobs:
9191
run: |
9292
pip install . --user
9393
94-
95-
- name: pytest
96-
run: ci/pytest_unit.sh
97-
98-
- name: test performance
99-
run: ci/pytest_perf.sh
100-
10194
- name: test compatibility with Cirq
10295
run: |
10396
pip install cirq-core
10497
pytest test/* -m cirq
98+
99+
buid-and-test-performance:
100+
strategy:
101+
fail-fast: false
102+
103+
runs-on: ubuntu-24.04
104+
105+
steps:
106+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
107+
108+
- name: Set up Python 3.12
109+
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
110+
with:
111+
python-version: '3.12'
112+
113+
- name: Install Dependencies
114+
run: |
115+
pip install -r dev_tools/dev.env.txt
116+
117+
#
118+
# Install
119+
#
120+
121+
- name: install
122+
run: |
123+
pip install . --user
124+
125+
- name: test performance
126+
run: ci/pytest_perf.sh

0 commit comments

Comments
 (0)