Skip to content

Chore(deps): Update pyproject-fmt requirement from <2.3 to <2.6 #126

Chore(deps): Update pyproject-fmt requirement from <2.3 to <2.6

Chore(deps): Update pyproject-fmt requirement from <2.3 to <2.6 #126

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allow job to be triggered manually.
workflow_dispatch:
# Cancel in-progress jobs when pushing to the same branch.
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11"]
include:
- os: "macos-latest"
python-version: "3.11"
#- os: "windows-latest"
# python-version: "3.11"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}
steps:
- name: Acquire sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Display Docker version
if: runner.os == 'Linux'
run: |
docker version
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: 'package.json'
- name: Setup project
run: |
# Install package in editable mode.
pip install versioningit wheel
pip install --editable=.[test,develop]
npm install
- name: Check code style
run: |
poe lint
- name: Run tests
run: |
node-blue setup
poe test
- name: Upload coverage to Codecov
if: false
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false