Skip to content

Commit

Permalink
Automatically build HTML versions of test manifests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Mar 6, 2024
1 parent 61f07cb commit f8a496a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Automatic Report and Test Manifest Generation
on:
push:
branches: [main]
paths: ["reports/**", "tests/**"]
pull_request:
branches: [ main ]
paths: ["reports/**", "tests/**"]

jobs:
build:
name: Generate Reports using Ruby
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- name: Install dependencies
run: bundle install
- name: Generate Test Manifests
run: (cd tests; bundle exec rake)
#- name: Generate Report
# run: (cd reports; rake)
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated report generation
commit_user_name: Report generation bot
commit_user_email: <>

1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ GEM
PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-20
x86_64-linux

Expand Down

0 comments on commit f8a496a

Please sign in to comment.