Skip to content

setup basic

setup basic #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: CI Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v3
with:
node-version: "20.10.0"
- name: Run tests
env:
WEIXIN_APPID: ${{ secrets.WEIXIN_APPID }}
WEIXIN_APPSECRET: ${{ secrets.WEIXIN_APPSECRET }}
run: bundle exec rails test