@@ -10,7 +10,7 @@ concurrency:
1010 cancel-in-progress : true
1111
1212jobs :
13- Test-RAVEN-Linux :
13+ Test-RAVEN-Ubuntu-Latest :
1414 runs-on : ubuntu-latest
1515 # runs-on: ubuntu-22.04
1616 steps :
6262 run : |
6363 ./run_tests -j4 --plugins
6464
65- Test-RAVEN-macOS :
65+ Test-RAVEN-Ubuntu-22 :
66+ # runs-on: ubuntu-latest
67+ runs-on : ubuntu-22.04
68+ steps :
69+ - name : Setup Conda
70+ uses : conda-incubator/setup-miniconda@v3
71+ with :
72+ miniconda-version : " latest"
73+ channels : conda-forge, defaults
74+ activate-environment : raven_libraries
75+ use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
76+ auto-update-conda : true
77+ auto-activate-base : true
78+
79+ - name : Job Information
80+ run : |
81+ echo " The job was automatically triggered by a ${{ github.event_name }} event."
82+ echo " This job is now running on a ${{ runner.os }} server"
83+ echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
84+
85+ - name : Fetch and Branch
86+ uses : actions/checkout@v3
87+
88+ - name : Install Plugins
89+ run : |
90+ pwd
91+ python3 ./scripts/install_plugins.py -s TEAL
92+ python3 ./scripts/install_plugins.py -s SR2ML
93+ python3 ./scripts/install_plugins.py -s BayCal
94+ python3 ./scripts/install_plugins.py -s POEM
95+
96+ - name : Set Python Environment
97+ run : |
98+ ./scripts/establish_conda_env.sh --install
99+
100+ - name : Build Raven
101+ run : |
102+ ./build_raven
103+
104+ - name : Test RAVEN
105+ # if: always()
106+ # continue-on-error: true # numba library cause autoarma failed for latest ubuntu
107+ run : |
108+ export LD_LIBRARY_PATH=/home/runner/miniconda3/envs/raven_libraries/lib
109+ ./run_tests --library-report
110+ ./run_tests -j4 --raven
111+
112+ - name : Test Plugins
113+ continue-on-error : true
114+ run : |
115+ ./run_tests -j4 --plugins
116+
117+ Test-RAVEN-macOS-latest :
66118 runs-on : macos-latest
67119 # runs-on: macos-14
68120 steps :
@@ -110,7 +162,55 @@ jobs:
110162 # run: |
111163 # ./run_tests -j4 --plugins
112164
113- Test-RAVEN-Windows :
165+ Test-RAVEN-macOS-14 :
166+ # runs-on: macos-latest
167+ runs-on : macos-14
168+ steps :
169+ - name : Setup Conda
170+ uses : conda-incubator/setup-miniconda@v3
171+ with :
172+ miniconda-version : " latest"
173+ channels : conda-forge, defaults
174+ activate-environment : raven_libraries
175+ use-only-tar-bz2 : False
176+ auto-update-conda : true
177+ auto-activate-base : true
178+
179+ - name : Job Information
180+ run : |
181+ echo " The job was automatically triggered by a ${{ github.event_name }} event."
182+ echo " This job is now running on a ${{ runner.os }} server"
183+ echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
184+
185+ - name : Fetch and Branch
186+ uses : actions/checkout@v3
187+
188+ # - name: Install Plugins
189+ # run: |
190+ # pwd
191+ # python3 ./scripts/install_plugins.py -a
192+
193+ - name : Set Python Environment
194+ run : |
195+ ./scripts/establish_conda_env.sh --install
196+
197+ - name : Build Raven
198+ run : |
199+ ./build_raven
200+
201+ - name : Test RAVEN
202+ # if: always()
203+ # continue-on-error: true
204+ run : |
205+ ./run_tests --library-report
206+ ./run_tests -j4 --raven
207+
208+ # - name: Test Plugins
209+ # continue-on-error: true
210+ # run: |
211+ # ./run_tests -j4 --plugins
212+
213+ Test-RAVEN-Windows-Latest :
114214 runs-on : windows-latest
115215 steps :
116216 - name : Setup Conda
@@ -158,3 +258,52 @@ jobs:
158258 continue-on-error : true
159259 run : |
160260 bash ./run_tests -j4 --plugins
261+
262+ Test-RAVEN-Windows-2022 :
263+ runs-on : windows-2022
264+ steps :
265+ - name : Setup Conda
266+ uses : conda-incubator/setup-miniconda@v3
267+ with :
268+ miniconda-version : " latest"
269+ channels : conda-forge, defaults
270+ activate-environment : raven_libraries
271+ use-only-tar-bz2 : true
272+ auto-update-conda : true
273+ auto-activate-base : true
274+
275+ - name : Job Information
276+ run : |
277+ echo " The job was automatically triggered by a ${{ github.event_name }} event."
278+ echo " This job is now running on a ${{ runner.os }} server"
279+ echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
280+
281+ - name : Fetch and Branch
282+ uses : actions/checkout@v3
283+
284+ - name : Install Plugins
285+ run : |
286+ pwd
287+ python3 ./scripts/install_plugins.py -s TEAL
288+ python3 ./scripts/install_plugins.py -s SR2ML
289+ python3 ./scripts/install_plugins.py -s BayCal
290+ python3 ./scripts/install_plugins.py -s POEM
291+
292+ - name : Set Python Environment
293+ run : |
294+ bash ./scripts/establish_conda_env.sh --install --conda-defs $HOME/miniconda3/etc/profile.d/conda.sh
295+
296+ - name : Build Raven
297+ run : |
298+ bash ./build_raven
299+
300+ - name : Test RAVEN
301+ # if: always()
302+ run : |
303+ bash ./run_tests --library-report
304+ bash ./run_tests -j4 --raven
305+
306+ - name : Test Plugins
307+ continue-on-error : true
308+ run : |
309+ bash ./run_tests -j4 --plugins
0 commit comments