|
56 | 56 | os: [ubuntu-latest, windows-latest, macos-13] |
57 | 57 | python: [cp37, cp38, cp39, cp310, cp311, cp312] |
58 | 58 |
|
59 | | - |
60 | 59 | include: |
61 | 60 | # Put coverage and results files in the project directory for mac |
62 | 61 | - os: macos-13 |
@@ -128,9 +127,7 @@ jobs: |
128 | 127 | matrix: |
129 | 128 | os: [ubuntu-latest, windows-latest, macos-13] |
130 | 129 | python: [cp37, cp38, cp39, cp310, cp311, cp312] |
131 | | - |
132 | 130 | runs-on: ${{ matrix.os }} |
133 | | - |
134 | 131 | steps: |
135 | 132 | - uses: actions/download-artifact@v4 |
136 | 133 | with: |
@@ -167,3 +164,35 @@ jobs: |
167 | 164 | TWINE_USERNAME: __token__ |
168 | 165 | TWINE_PASSWORD: ${{ secrets.pypi_token }} |
169 | 166 | run: pipx run twine upload dist/* |
| 167 | + |
| 168 | + # Check that the master branches of various upstream dependencies are |
| 169 | + # still compatible when used together |
| 170 | + master_branch_test: |
| 171 | + if: ${{ github.event_name == 'schedule' }} |
| 172 | + runs-on: "ubuntu-latest" |
| 173 | + steps: |
| 174 | + - name: Checkout Source |
| 175 | + uses: actions/checkout@v4 |
| 176 | + with: |
| 177 | + # require history to get back to last tag for version number of branches |
| 178 | + fetch-depth: 0 |
| 179 | + submodules: true |
| 180 | + |
| 181 | + - name: Install Python |
| 182 | + uses: actions/setup-python@v4 |
| 183 | + with: |
| 184 | + python-version: "3.12" |
| 185 | + |
| 186 | + - name: Install master versions |
| 187 | + # Note the install order here: By installing p4p first, then pvxs and epicscorelibs using the --no-warn-conflicts |
| 188 | + # flag, we can bypass the dependency mismatch which would otherwise be present. We know that the master branches |
| 189 | + # *should* always work together, so it's ok to ignore the warnings. |
| 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