Skip to content

Commit cc73fd8

Browse files
Merge pull request #174 from DiamondLightSource/test_upstream_master_branches
Add installation from Github for upstream packages
2 parents 333fbfc + 830c181 commit cc73fd8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/code.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,32 @@ jobs:
167167
TWINE_USERNAME: __token__
168168
TWINE_PASSWORD: ${{ secrets.pypi_token }}
169169
run: pipx run twine upload dist/*
170+
171+
# Check that the master branches of various upstream dependencies are
172+
# still compatible when used together
173+
master_branch_test:
174+
if: ${{ github.event_name == 'schedule' }}
175+
runs-on: "ubuntu-latest"
176+
steps:
177+
- name: Checkout Source
178+
uses: actions/checkout@v4
179+
with:
180+
# require history to get back to last tag for version number of branches
181+
fetch-depth: 0
182+
submodules: true
183+
184+
- name: Install Python
185+
uses: actions/setup-python@v4
186+
with:
187+
python-version: "3.12"
188+
189+
- name: Install master versions
190+
run: |
191+
pip install git+https://github.com/epics-base/p4p.git git+https://github.com/epics-base/pvxs.git git+https://github.com/epics-base/epicscorelibs.git
192+
pip install git+https://github.com/DiamondLightSource/aioca git+https://github.com/DiamondLightSource/cothread
193+
pip install -e .[dev]
194+
pip freeze
195+
196+
- name: Run tests
197+
run: |
198+
python -m pytest

0 commit comments

Comments
 (0)