Skip to content

Edit the Td/IPV SNOMED code via a data migration #25381

Edit the Td/IPV SNOMED code via a data migration

Edit the Td/IPV SNOMED code via a data migration #25381

Workflow file for this run

name: Test
on:
pull_request:
workflow_call:
permissions: {}
jobs:
rspec:
name: RSpec
runs-on: ubuntu-latest
services:
postgresql:
image: postgis/postgis:17-master
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
env:
RAILS_ENV: test
DATABASE_HOST: localhost
DATABASE_USER: postgres
DATABASE_PASSWORD: postgres
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .tool-versions
cache: yarn
- uses: ruby/setup-ruby@0cb964fd540e0a24c900370abf38a33466142735 # v1.305.0
with:
bundler-cache: true
- name: Precompile assets
run: bin/rails assets:precompile
- name: Setup parallel database
run: |
bin/rails parallel:create
bin/rails parallel:load_schema
- name: Run tests
run: bin/rails parallel:spec
- name: Run tests tagged for local_users
run: bundle exec rspec -t local_users
env:
MAVIS__CIS2__ENABLED: false
seeds:
name: Seeds
runs-on: ubuntu-latest
services:
postgresql:
image: postgis/postgis:17-master
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
env:
RAILS_ENV: development
DATABASE_URL: >-
postgis://postgres:postgres@localhost:5432/manage_vaccinations_development
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .tool-versions
cache: yarn
- uses: ruby/setup-ruby@0cb964fd540e0a24c900370abf38a33466142735 # v1.305.0
with:
bundler-cache: true
- name: Run seeds
run: bin/rails db:prepare
jest:
name: Jest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .tool-versions
cache: yarn
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Run tests
run: yarn test