Add test status #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
pull_request: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run Rspec | |
run: bundle exec rake | |
- name: Generate definitions | |
run: bundle exec rake build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dfhack-lua-definitions | |
path: dist |