Skip to content

Tasks contain property that tells the boefjerunner what network it is supposed to run on. #5068

Tasks contain property that tells the boefjerunner what network it is supposed to run on.

Tasks contain property that tells the boefjerunner what network it is supposed to run on. #5068

Workflow file for this run

name: Octopoes tests
on:
push:
branches:
- "main"
- "release-*"
tags:
- "*"
paths:
- octopoes/**
- .github/workflows/octopoes_test.yml
pull_request:
paths:
- octopoes/**
- .github/workflows/octopoes_test.yml
jobs:
test:
strategy:
fail-fast: false
matrix:
version: ["3.10", "3.11"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
cache: "pip" # caching pip dependencies
- name: Install requirements.txt
run: pip install -r requirements-dev.txt
working-directory: ./octopoes
- name: Run unit tests
run: pytest --cov-report=xml
working-directory: ./octopoes
- if: ${{ matrix.version == '3.11' }}
name: Upload coverage as artifact
uses: actions/upload-artifact@v4
with:
name: coverage
path: octopoes/coverage.xml
- name: Run integration tests
run: DOCKER_BUILDKIT=1 make itest build_args='--build-arg PYTHON_VERSION=${{ matrix.version }}'
working-directory: ./octopoes