Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 in the github-actions group #115

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 in the github-actions group

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 in the github-actions group #115

Workflow file for this run

name: Tests
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: "actions/checkout@v4"
with:
submodules: true
- uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
python -VV
python -m site
python -m pip install --upgrade pip setuptools cython wheel pytest pytest-cov
- name: "Build DAWG for ${{ matrix.python-version }}"
env:
TEST: true
run: |
pip install -e .
- name: "Run tests for ${{ matrix.python-version }}"
run: |
python -m pytest --cov=./
- name: Upload coverage data to coveralls.io
run: |
pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}