Skip to content

Allow docker image to be multiarchitecture #1492

Allow docker image to be multiarchitecture

Allow docker image to be multiarchitecture #1492

Workflow file for this run

name: codecov
permissions: read-all
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@v4
- 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