Merge pull request #2720 from alphagov/dependabot/bundler/aws-sdk-s3-… #1374
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: CI | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "Jenkinsfile" | |
- ".git**" | |
pull_request: | |
jobs: | |
check-ltr-dependencies: | |
name: Check Learn to Rank dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Check LTR dependencies install | |
run: | | |
set -ex | |
sudo apt-get update | |
sudo apt-get install -y liblapack-dev | |
pip install -r ltr/sagemaker/requirements-freeze.txt | |
pip install -r ltr/scripts/requirements-freeze.txt | |
lint-ruby: | |
name: Lint Ruby | |
uses: alphagov/govuk-infrastructure/.github/workflows/rubocop.yml@main | |
test-ruby: | |
name: Test Ruby | |
uses: ./.github/workflows/rspec.yml | |