name: Tests ADN on: push: branches: [main, develop] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true - name: Install dependencies run: | cd adn/tools bundle install - name: Run tests run: | cd adn/tools bundle exec rspec --format progress - name: Run linter run: | cd adn/tools gem install rubocop --no-document || true rubocop --simple || true