Skip to content

Bump actions/checkout from 4 to 5 in /.github/workflows #59

Bump actions/checkout from 4 to 5 in /.github/workflows

Bump actions/checkout from 4 to 5 in /.github/workflows #59

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Run search_api2 tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
# run workflow when merging to main or develop
branches:
- main
- master
- develop
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out GitHub repo
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9.19
- name: Pip installation
run: python -m pip install --upgrade pip poetry
- name: Poetry installation
run: poetry install --no-root
- name: Create test image
run: docker compose build
- name: Run tests
run: scripts/run_tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true