Skip to content

Commit ebf2838

Browse files
committed
Updated dependencies and github action for test
1 parent bd2d8d5 commit ebf2838

2 files changed

Lines changed: 32 additions & 35 deletions

File tree

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: CI
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: ["master"]
99
pull_request:
10-
branches: [ "master" ]
10+
branches: ["master"]
1111

1212
permissions:
1313
contents: read
@@ -18,26 +18,26 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
version:
21-
- '3.10'
22-
- '3.11'
23-
- '3.12'
21+
- "3.10"
22+
- "3.11"
23+
- "3.12"
2424
os:
2525
- ubuntu-latest
2626
arch:
2727
- x64
2828
name: Python ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
2929
runs-on: ${{ matrix.os }}
3030
steps:
31-
- uses: actions/checkout@v4
32-
- name: Set up Python
33-
uses: actions/setup-python@v4
34-
with:
35-
python-version: ${{ matrix.version }}
36-
cache: "pip"
37-
- name: Install dependencies
38-
run: |
39-
python -m pip install --upgrade pip
40-
pip install .
41-
- name: Run unittest
42-
run: |
43-
python -m unittest discover tests -v
31+
- uses: actions/checkout@v4
32+
- name: Set up Python
33+
uses: actions/setup-python@v4
34+
with:
35+
python-version: ${{ matrix.version }}
36+
cache: "pip"
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip
40+
pip install .[server]
41+
- name: Run unittest
42+
run: |
43+
python -m unittest discover tests -v

pyproject.toml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,25 @@ name = "oqd-cloud"
88
version = "0.0.0"
99
requires-python = ">=3.10"
1010
readme = "README.md"
11-
license = {file = "LICENSE"}
11+
license = { file = "LICENSE" }
1212
keywords = ["quantum", "computing", "simulation", "cloud", "server"]
1313
classifiers = [
14-
"Development Status :: 3 - Alpha",
14+
"Development Status :: 3 - Alpha",
1515

16-
"Intended Audience :: Science/Research ",
17-
"Topic :: Scientific/Engineering :: Physics",
18-
"Topic :: Scientific/Engineering :: Information Analysis",
16+
"Intended Audience :: Science/Research ",
17+
"Topic :: Scientific/Engineering :: Physics",
18+
"Topic :: Scientific/Engineering :: Information Analysis",
1919

20-
"License :: OSI Approved :: Apache Software License",
20+
"License :: OSI Approved :: Apache Software License",
2121

22-
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.10",
24-
"Programming Language :: Python :: 3.11",
25-
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2626
]
2727

2828

29-
dependencies = [
30-
"requests",
31-
"pydantic>=2.4",
32-
"numpy~=1.0",
33-
]
29+
dependencies = ["requests", "pydantic>=2.4", "numpy~=1.0"]
3430

3531
[project.optional-dependencies]
3632
docs = [
@@ -43,14 +39,16 @@ docs = [
4339
test = ["unittest_prettify"]
4440

4541
server = [
46-
# "oqd-compiler-infrastructure",
4742
"pydantic>=2.4",
4843
"qutip~=5.0.1",
4944
"asyncpg",
5045
"uvicorn",
5146
"python-jose",
5247
"passlib",
5348
"python-multipart",
49+
"oqd_compiler_infrastructure@git+https://github.com/openquantumdesign/oqd-compiler-infrastructure",
50+
"oqd_core@git+https://github.com/openquantumdesign/oqd-core",
51+
"oqd_analog_emulator@git+https://github.com/openquantumdesign/oqd-analog-emulator",
5452
]
5553

5654

@@ -59,7 +57,6 @@ where = ["src"]
5957
include = ["oqd_cloud*"]
6058

6159

62-
6360
[project.urls]
6461
Homepage = "https://github.com/OpenQuantumDesign/oqd-cloud"
6562
Repository = "https://github.com/OpenQuantumDesign/oqd-cloud.git"

0 commit comments

Comments
 (0)