Skip to content

Commit d3fef1a

Browse files
committed
Move from Azure Pipelines -> GHA
1 parent 2f0f387 commit d3fef1a

File tree

2 files changed

+52
-21
lines changed

2 files changed

+52
-21
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Test IPython beamline profiles
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
workflow_call:
8+
inputs:
9+
version: # the variable you can use in place of a matrix
10+
required: true
11+
type: string
12+
13+
jobs:
14+
testing_beamline_profiles:
15+
name: ${{ matrix.repos.beamline-acronym }}-py${{ matrix.zenodo.python }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
repos:
20+
- org: "NSLS-II-ESM-1"
21+
repo: "profile_collection"
22+
branch: ""
23+
beamline-acronym: "esm"
24+
beamline-endstation: "arpes"
25+
beamline-redis-prefix: "arpes-"
26+
zenodo:
27+
- url: "https://zenodo.org/records/15171538/files/2025-2.0-py310-tiled.tar.gz"
28+
md5: "bf2ecadce50394b4f44767fd53f76eb6"
29+
python: "3.10"
30+
- url: "https://zenodo.org/records/15171538/files/2025-2.0-py311-tiled.tar.gz"
31+
md5: "3d705483eab31648fae7cf0ce9a77e72"
32+
python: "3.11"
33+
- url: "https://zenodo.org/records/15171538/files/2025-2.0-py312-tiled.tar.gz"
34+
md5: "23f5634eda0e3207504c3529c2ade1cc"
35+
python: "3.12"
36+
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@v4
41+
42+
- name: Run Integration Tests Against Beamline Profiles
43+
uses: NSLS2/[email protected]
44+
with:
45+
conda_env_url: "${{ matrix.zenodo.url }}"
46+
conda_env_md5: "${{ matrix.zenodo.md5 }}"
47+
org: "${{ matrix.repos.org }}"
48+
repo: "${{ matrix.repos.repo }}"
49+
branch: "${{ matrix.repos.branch }}"
50+
beamline-acronym: "${{ matrix.repos.beamline-acronym }}"
51+
beamline-endstation: "${{ matrix.repos.beamline-endstation }}"
52+
beamline-redis-prefix: "${{ matrix.repos.beamline-redis-prefix }}"

azure-pipelines.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)