Merge pull request #113 from gallantries/microbiome #374
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 Video Library | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
# BEGIN Dependencies | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.0" | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
- name: Install dependencies | |
run: | | |
cd docs/ | |
gem install bundler | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
# END Dependencies | |
- name: Run Tests | |
run: | | |
cd docs/ | |
make test | |
- name: Check Slack messages | |
run: | | |
find scheduled -type f | xargs -n 1 -I'{}' python3 markdown2mrkdwn.py '{}' > /dev/null |