Skip to content

add missing matrix

add missing matrix #3

name: pypi-deployment
on: [push]
jobs:
main-package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest] #, macos-latest, windows-latest
python-version: ["3.12" ]
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.15
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install dependencies
run: |
poetry install --no-interaction
- name: Run tests
run: |
poetry run pytest
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3