Skip to content

chore: update rumors-db to latest version #880

chore: update rumors-db to latest version

chore: update rumors-db to latest version #880

Workflow file for this run

name: CI test
on:
# Triggers the workflow on push or pull request events but only for the dev branch
- pull_request
- push
# Allows you to run this workflow manually from the Actions tab
- workflow_dispatch
jobs:
install-and-test:
runs-on: ubuntu-latest
services:
rumors-test-db:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.3.2
ports:
- 62223:9200
permissions: # Required by google-github-actions/auth
contents: 'read'
id-token: 'write'
steps:
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
- uses: google-github-actions/auth@v1
with:
workload_identity_provider: ${{ secrets.GC_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GC_SERVICE_ACCOUNT }}
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run test -- --coverage
env:
GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}
GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}
GCS_MEDIA_FOLDER: github/${{ github.run_number }}_${{ github.run_attempt }}/
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TEST_DATASET: rumors_api_test_dataset
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}