Skip to content

Commit cb43fb4

Browse files
committed
coverage
1 parent e8accdd commit cb43fb4

File tree

2 files changed

+3
-188
lines changed

2 files changed

+3
-188
lines changed

.github/workflows/bench.yml

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

.github/workflows/test.yml

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,11 @@ jobs:
2424
needs: file-changes
2525
strategy:
2626
matrix:
27-
os: ['ubuntu', 'macos']
27+
os: ['macos']
2828
mpi: ['mpi']
2929
precision: ['']
30-
debug: ['debug', 'no-debug']
31-
intel: [true, false]
32-
exclude:
33-
- os: macos
34-
intel: true
35-
36-
include:
37-
- os: ubuntu
38-
mpi: no-mpi
39-
precision: single
40-
debug: no-debug
41-
intel: false
30+
debug: ['no-debug']
31+
intel: [false]
4232

4333
fail-fast: false
4434
continue-on-error: true
@@ -92,59 +82,3 @@ jobs:
9282
env:
9383
OPT1: ${{ matrix.mpi == 'mpi' && '--test-all' || '' }}
9484
OPT2: ${{ matrix.debug == 'debug' && '-% 20' || '' }}
95-
96-
self:
97-
name: Self Hosted
98-
if: github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
99-
needs: file-changes
100-
continue-on-error: false
101-
timeout-minutes: 1400
102-
strategy:
103-
matrix:
104-
device: ['gpu']
105-
interface: ['acc', 'omp']
106-
lbl: ['gt', 'frontier']
107-
include:
108-
- device: 'cpu'
109-
interface: 'none'
110-
lbl: 'gt'
111-
- device: 'cpu'
112-
interface: 'none'
113-
lbl: 'frontier'
114-
exclude:
115-
- device: 'gpu'
116-
interface: 'omp'
117-
lbl: 'frontier'
118-
runs-on:
119-
group: phoenix
120-
labels: ${{ matrix.lbl }}
121-
env:
122-
NODE_OPTIONS: ${{ matrix.lbl == 'gt' && '--max-old-space-size=2048' || '' }}
123-
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
124-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
125-
steps:
126-
- name: Clone
127-
uses: actions/checkout@v4
128-
129-
- name: Build & Test
130-
if: matrix.lbl == 'gt'
131-
run: bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/test.sh ${{ matrix.device }} ${{ matrix.interface }}
132-
133-
- name: Build
134-
if: matrix.lbl == 'frontier'
135-
run: bash .github/workflows/frontier/build.sh ${{ matrix.device }} ${{ matrix.interface }}
136-
137-
- name: Test
138-
if: matrix.lbl == 'frontier'
139-
run: bash .github/workflows/frontier/submit.sh .github/workflows/frontier/test.sh ${{matrix.device}} ${{ matrix.interface }}
140-
141-
- name: Print Logs
142-
if: always()
143-
run: cat test-${{ matrix.device }}-${{ matrix.interface }}.out
144-
145-
- name: Archive Logs
146-
uses: actions/upload-artifact@v4
147-
if: matrix.lbl == 'frontier'
148-
with:
149-
name: logs-${{ strategy.job-index }}-${{ matrix.device }}-${{ matrix.interface }}
150-
path: test-${{ matrix.device }}-${{ matrix.interface }}.out

0 commit comments

Comments
 (0)