Skip to content

Updated version to 1.5.2 in order to push change to pypi registry #24

Updated version to 1.5.2 in order to push change to pypi registry

Updated version to 1.5.2 in order to push change to pypi registry #24

Workflow file for this run

name: Push to main branch
on:
push:
branches:
- "main"
jobs:
check-coding-style:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "pip" # caching pip dependencies
- name: Install Flake8 dependencies
run: python -m pip install -U flake8
- name: Run Flake8
run: flake8 .
run-tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
cache: "pip" # caching pip dependencies
- name: Install all dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest (excluding abaqus tests)
run: |
python -m pytest -S abaqus
build-package:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
cache: "pip" # caching pip dependencies
- name: Install build dependencies
run: python -m pip install -U setuptools wheel build
- name: Build the package
run: python -m build .