11name : COMPAS compile test
2- ' on ' :
3- workflow_dispatch : null
2+
3+ on :
4+ workflow_dispatch :
45 pull_request :
56 branches :
67 - dev
@@ -12,7 +13,7 @@ name: COMPAS compile test
1213 push :
1314 branches :
1415 - dev
15- -
16+
1617# Ensures only the latest workflow run for the same branch is active, canceling any in-progress runs.
1718concurrency :
1819 group : ${{ github.workflow }}-${{ github.ref }}
@@ -25,13 +26,16 @@ jobs:
2526 ARTIFACT_PATH : py_tests/test_artifacts
2627
2728 name : Build COMPAS
28- runs-on : ' ${{ matrix.os}} '
29- container : ' ${{matrix.container}} '
29+ runs-on : ${{ matrix.os }}
30+ container : ${{ matrix.container }}
3031 strategy :
3132 fail-fast : false
3233 matrix :
3334 os :
3435 - ubuntu-22.04
36+ container :
37+ - ubuntu:22.04
38+
3539 steps :
3640 - uses : actions/checkout@v4
3741 - uses : actions/setup-python@v5
4246 # - name: Install TeXLive
4347 # uses: teatimeguest/setup-texlive-action@v3.3.4
4448 - name : Install dependencies on ubuntu
45- if : ' startsWith(matrix.os, '' ubuntu-2'' ) '
49+ if : startsWith(matrix.os, 'ubuntu-2')
4650 run : |
4751 cd misc/cicd-scripts
4852 chmod 755 linux-dependencies
8387 id : upload
8488 uses : actions/upload-artifact@v4
8589 with :
86- name : ' ${{ env.ARTIFACT_NAME }}'
87- path : ' ${{ env.ARTIFACT_PATH }}/${{ env.ARTIFACT_NAME }}'
90+ name : ${{ env.ARTIFACT_NAME }}
91+ path : ${{ env.ARTIFACT_PATH }}/${{ env.ARTIFACT_NAME }}
8892 if-no-files-found : error
8993 - name : Test Summary
9094 run : |
0 commit comments