Skip to content

Commit d64cfac

Browse files
committed
DSEGOG-255 Move EPAC DataSim dependency to its own group
- This is so we can exclude it if we don't have the correct SSH permissions to access/clone the repo. For example, the CI cannot clone the repo
1 parent 702e7e8 commit d64cfac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
path: ~/.cache/pypoetry/virtualenvs
5757
key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
5858
- name: Install dependencies
59-
run: poetry install
59+
run: poetry install --without simulated-data
6060

6161
# Configure s4cmd
6262
- name: Add keys to s4cmd config

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ requests = "2.31.0"
4545
pytest-cov = "^3.0.0"
4646
coverage = "^6.4.4"
4747
fabric = "^3.1.0"
48-
epac-data-sim = {git = "[email protected]:CentralLaserFacility/EPAC-DataSim.git"}
4948
pytest-asyncio = "^0.21.0"
5049
s4cmd = "^2.1.0"
5150

51+
[tool.poetry.group.simulated-data.dependencies]
52+
epac-data-sim = {git = "[email protected]:CentralLaserFacility/EPAC-DataSim.git"}
53+
5254
[tool.coverage.paths]
5355
source = ["operationsgateway_api"]
5456

0 commit comments

Comments
 (0)