Skip to content

Added slice function that calls the correct slicing depending on data… #60

Added slice function that calls the correct slicing depending on data…

Added slice function that calls the correct slicing depending on data… #60

Workflow file for this run

name: tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
with:
fetch-depth: 0
# https://github.com/actions/setup-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# https://github.com/snok/install-poetry
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
- name: Code Quality
run: poetry run black . --check
- name: Test with pytest
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_GITHUB_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
run: make test