Skip to content

PR-6090: Use ~= instead of == in Python requirements files #198

PR-6090: Use ~= instead of == in Python requirements files

PR-6090: Use ~= instead of == in Python requirements files #198

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- devel
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- run: pip install pytest-github-actions-annotate-failures
- run: py.test --cov=rain_api_core --cov-report=term-missing --cov-report=xml --cov-branch --doctest-modules rain_api_core tests
- name: Report coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true