Skip to content

update cicd

update cicd #10

Workflow file for this run

name: Tests
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: upgrade pip
run: |
pip install --upgrade pip && \
pip install build
- run: |
make dist
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: builds
path: |
dist/*
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: upgrade pip
run: |
pip install --upgrade pip
- name: Run tests
run: |
make test