Skip to content

Update release_bundler.yml #989

Update release_bundler.yml

Update release_bundler.yml #989

Workflow file for this run

name: codecov
on:
push:
branches: "main"
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: "main"
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.11.5
uses: actions/setup-python@v4
with:
python-version: '3.11.5'
- name: install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.4.1
- name: Install dependencies
run: poetry install --with test
- name: create required folder
run: mkdir -p /home/runner/.config/ofscraper/main_profile
- name: Run tests and collect coverage
run: poetry run pytest --cov-report term --cov-report xml:coverage.xml --cov=src
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3