-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (33 loc) · 902 Bytes
/
spec.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
name: Specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
spec:
runs-on: ubuntu-latest
name: spec
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
bundler-cache: true
- name: Prepare tests
run: |
cd spec
wget -nv https://raw.githubusercontent.com/openSUSE/open-build-service/master/src/api/Gemfile
wget -nv https://raw.githubusercontent.com/openSUSE/open-build-service/master/src/api/Gemfile.lock
- name: Test spec strategy
run: |
cd spec
../bundle_gems
grep Source100 obs-server.spec
- name: Test cpio strategy
run: |
cd spec
mkdir outdir
../bundle_gems --strategy=cpio -o outdir
file outdir/vendor.obscpio