Skip to content

Make deta deps version flexible #53

Make deta deps version flexible

Make deta deps version flexible #53

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
version: [3.7, 3.8, 3.9, "3.10", 3.11]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.version }}
- name: Install Poetry
run: |
pip install poetry
poetry config virtualenvs.create false # Disable virtualenv creation
- name: Install dependencies
run: poetry install
- name: Run tests
env:
INTEGRATION_TEST_KEY: ${{ secrets.INTEGRATION_TEST_KEY }}
run: poetry run pytest --cov=odetam
- uses: codecov/codecov-action@v2