Skip to content

tEST NEW WORKFLOW

tEST NEW WORKFLOW #2

name: Release Piranha Playground
on:
workflow_dispatch:
push:
branches:
- release_playground_wf
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./experimental
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Create virtualenv and install dependencies
run: |
python -m venv .env
source .env/bin/activate
pip install -r requirements.txt
- name: Run tests
run: |
source .env/bin/activate
pytest
- name: Build and check package
run: |
source .env/bin/activate
python setup.py sdist bdist_wheel
twine check dist/*