Skip to content

Commit f8a496a

Browse files
committed
Automatically build HTML versions of test manifests.
1 parent 61f07cb commit f8a496a

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/generate.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Automatic Report and Test Manifest Generation
2+
on:
3+
push:
4+
branches: [main]
5+
paths: ["reports/**", "tests/**"]
6+
pull_request:
7+
branches: [ main ]
8+
paths: ["reports/**", "tests/**"]
9+
10+
jobs:
11+
build:
12+
name: Generate Reports using Ruby
13+
runs-on: ubuntu-latest
14+
permissions:
15+
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
16+
contents: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: 3.2.2
22+
- name: Install dependencies
23+
run: bundle install
24+
- name: Generate Test Manifests
25+
run: (cd tests; bundle exec rake)
26+
#- name: Generate Report
27+
# run: (cd reports; rake)
28+
- uses: stefanzweifel/git-auto-commit-action@v4
29+
with:
30+
commit_message: Automated report generation
31+
commit_user_name: Report generation bot
32+
commit_user_email: <>
33+

Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ GEM
201201
PLATFORMS
202202
arm64-darwin-21
203203
arm64-darwin-22
204+
arm64-darwin-23
204205
x86_64-darwin-20
205206
x86_64-linux
206207

0 commit comments

Comments
 (0)