Write a post about naming computers #443
Workflow file for this run
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: "plugin-tests" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/_plugins/**' | |
- 'Gemfile' | |
- 'Gemfile.lock' | |
- '.github/workflows/run_plugin_tests.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'src/_plugins/**' | |
- 'Gemfile' | |
- 'Gemfile.lock' | |
- '.github/workflows/run_plugin_tests.yml' | |
jobs: | |
build: | |
name: Run plugin tests | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_WITH: test | |
steps: | |
- name: "Check out the repo" | |
uses: actions/checkout@v4 | |
- name: "Set up Ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: true | |
cache-version: 1 | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pip" | |
- run: pip install -r requirements.txt | |
- name: "Run the plugin tests" | |
run: bundle exec ruby src/_tests/tests.rb |