forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (45 loc) · 1.13 KB
/
create_bitstreams.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: create_bitstreams - import test files
on:
workflow_dispatch:
inputs:
INSTANCE:
required: true
default: '8'
type: choice
options:
- '2'
- '5'
- '6'
- '8'
jobs:
checkout-codebase:
runs-on: dspace-dep-1
steps:
- uses: actions/checkout@v4
with:
repository: dataquest-dev/dspace-rest-test
ref: master
submodules: 'recursive'
import:
strategy:
matrix:
include:
- instance: '2'
runner: dspace-dep-1
- instance: '5'
runner: dspace-dep-1
- instance: '6'
runner: dspace-dep-1
- instance: '8'
runner: dspace-dep-1
runs-on: ${{ matrix.runner }}
needs: checkout-codebase
env:
DSPACE_REST_API: http://dev-5.pc:8${{ matrix.instance }}/server/api/
steps:
- name: install requirements and run import
if: github.event.inputs.INSTANCE == matrix.instance
run: |
pip install -r requirements.txt
cd tests/integration
python3 create_bitstreams.py