Skip to content

Commit 60ddc08

Browse files
r-imai-67ncrubin
andauthored
Remove pytest from install_requires (#57)
* remove pytest from requirements.txt * Add dev_tools/pip-list Co-authored-by: Nicholas Rubin <[email protected]>
1 parent d2b000b commit 60ddc08

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on: [pull_request]
1919

2020
jobs:
2121
pytest:
22-
name: Pytest Ubuntu
22+
name: Pytest Ubuntu python3.6
2323
runs-on: ubuntu-16.04
2424
steps:
2525
- uses: actions/checkout@v1
@@ -29,13 +29,12 @@ jobs:
2929
architecture: 'x64'
3030
- name: Install requirements
3131
run: |
32-
pip install -r requirements.txt
32+
pip install -r ./dev_tools/pip-list
3333
- name: Pytest check
3434
run: |
35-
pip install pytest
3635
pytest
3736
pytest37:
38-
name: Pytest Ubuntu
37+
name: Pytest Ubuntu python3.7
3938
runs-on: ubuntu-16.04
4039
steps:
4140
- uses: actions/checkout@v1
@@ -45,8 +44,7 @@ jobs:
4544
architecture: 'x64'
4645
- name: Install requirements
4746
run: |
48-
pip install -r requirements.txt
47+
pip install -r ./dev_tools/pip-list
4948
- name: Pytest check
5049
run: |
51-
pip install pytest
5250
pytest

dev_tools/pip-list

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pytest~=6.2.1
2+
pyscf~=1.7.5.1
3+
openfermion~=1.0.0

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
openfermion>=1.0
22
pyscf
3-
pytest

0 commit comments

Comments
 (0)