Skip to content

Fixed flaky test

Fixed flaky test #7

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Release
uses: patrick-kidger/action_update_python_project@v2
with:
python-version: "3.11"
test-script: |
cp -r ${{ github.workspace }}/tests ./tests
cp -r ${{ github.workspace }}/examples ./examples
cp ${{ github.workspace }}/pyproject.toml ./pyproject.toml
python -m pip install -r ./tests/requirements.txt
pytest
pypi-token: ${{ secrets.pypi_token }}
github-user: patrick-kidger
github-token: ${{ github.token }}
email-user: ${{ secrets.email_user }}
email-token: ${{ secrets.email_token }}
email-server: ${{ secrets.email_server }}
email-target: ${{ secrets.email_target }}