This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
Bump tomli-w from 1.0.0 to 1.1.0 #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Packages and Test | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test-and-build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Print info | |
run: | | |
echo github.ref_type is ${{ github.ref_type }} | |
echo github.event_name is ${{ github.event_name }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v9 | |
- name: Install package | |
run: poetry install --with=dev | |
- name: Setup QT Libs | |
uses: tlambert03/setup-qt-libs@v1 | |
- name: Setup Headless Display | |
uses: pyvista/setup-headless-display-action@v2 | |
with: | |
qt: true | |
pyvista: false | |
- name: Run test | |
env: | |
QT_DEBUG_PLUGINS: '1' | |
run: poetry run pytest --cov=qdamakuengine -s -vvvv | |
- name: Build wheel | |
run: poetry build | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: github.ref_type == 'tag' | |
with: | |
files: dist/* | |
generate_release_notes: true |