|
1 | | -# name: Unit Testing Pipeline |
| 1 | +name: Generate benchmarking dataset tables |
2 | 2 |
|
3 | | -# on: |
4 | | -# push: |
| 3 | +on: |
| 4 | + workflow_dispatch: |
5 | 5 |
|
6 | | -# jobs: |
7 | | -# test-ubuntu: |
8 | | -# runs-on: ubuntu-latest |
9 | | -# strategy: |
10 | | -# matrix: |
11 | | -# python-version: ["3.9"] |
12 | | -# steps: |
13 | | -# - uses: actions/checkout@v4 |
14 | | -# - name: Setup python ${{ matrix.python-version }} |
15 | | -# uses: actions/setup-python@v5 |
16 | | -# with: |
17 | | -# python-version: ${{ matrix.python-version }} |
18 | | -# cache: 'pip' |
19 | | -# - name: Install octave |
20 | | -# run: | |
21 | | -# sudo apt-get update |
22 | | -# sudo apt-get install -y build-essential octave |
23 | | -# - name: Install pyspi dependencies |
24 | | -# run: | |
25 | | -# python -m pip install --upgrade pip |
26 | | -# pip install -r requirements.txt |
27 | | -# pip install . |
28 | | -# - name: Run data generation |
29 | | -# run: | |
30 | | -# python tests/generate_benchmark_tables.py |
31 | | -# - name: Upload artifact |
32 | | -# uses: actions/upload-artifact@v3 |
33 | | -# with: |
34 | | -# name: benchmark-tables |
35 | | -# path: tests/CML7_benchmark_tables_new.pkl |
| 6 | +jobs: |
| 7 | + test-ubuntu: |
| 8 | + runs-on: ubuntu-latest |
| 9 | + strategy: |
| 10 | + matrix: |
| 11 | + python-version: ["3.9"] |
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v4 |
| 14 | + - name: Setup python ${{ matrix.python-version }} |
| 15 | + uses: actions/setup-python@v5 |
| 16 | + with: |
| 17 | + python-version: ${{ matrix.python-version }} |
| 18 | + cache: 'pip' |
| 19 | + - name: Install octave |
| 20 | + run: | |
| 21 | + sudo apt-get update |
| 22 | + sudo apt-get install -y build-essential octave |
| 23 | + - name: Install pyspi dependencies |
| 24 | + run: | |
| 25 | + python -m pip install --upgrade pip |
| 26 | + pip install -r requirements.txt |
| 27 | + pip install . |
| 28 | + - name: Run data generation |
| 29 | + run: | |
| 30 | + python tests/generate_benchmark_tables.py |
| 31 | + - name: Upload artifact |
| 32 | + uses: actions/upload-artifact@v3 |
| 33 | + with: |
| 34 | + name: benchmark-tables |
| 35 | + path: tests/CML7_benchmark_tables_new.pkl |
0 commit comments