Bump numba from 0.59.0 to 0.59.1 #2898
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: "Run Examples" | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
- "sourcery/**" | |
- "pre-commit-ci-update-config" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
create-example-list: | |
name: Create Example List | |
runs-on: ubuntu-latest | |
outputs: | |
example-list: ${{ steps.create-example-list.outputs.example-list }} | |
steps: | |
- name: Set example list output | |
id: create-example-list | |
uses: glotaran/pyglotaran-examples@main | |
with: | |
example_name: set example list | |
set_example_list: true | |
run-examples: | |
name: "Run Example: " | |
runs-on: ubuntu-latest | |
needs: [create-example-list] | |
strategy: | |
matrix: | |
example_name: ${{fromJson(needs.create-example-list.outputs.example-list)}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install pyglotaran | |
run: | | |
pip install wheel | |
pip install -r requirements_dev.txt | |
pip install . | |
- name: ${{ matrix.example_name }} | |
id: example-run | |
uses: glotaran/pyglotaran-examples@main | |
with: | |
example_name: ${{ matrix.example_name }} | |
- name: Installed packages | |
if: always() | |
run: | | |
pip freeze | |
- name: Upload Example Plots Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: example-plots-${{ matrix.example_name }} | |
path: ${{ steps.example-run.outputs.plots-path }} | |
- name: Upload Example Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: example-results-${{ matrix.example_name }} | |
path: ~/pyglotaran_examples_results | |
collect-plot-artifacts: | |
name: "Collect plot artifacts and reupload as bundel" | |
runs-on: ubuntu-latest | |
needs: [run-examples] | |
steps: | |
- name: Download All Artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
path: example-plots | |
pattern: example-plots-* | |
merge-multiple: true | |
- name: Upload Example Plots Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: example-plots | |
path: example-plots | |
overwrite: true | |
- name: Delete Intermediate artifacts | |
uses: GeekyEggo/delete-artifact@v5 | |
with: | |
name: example-plots-* | |
compare-results: | |
name: Compare Results | |
runs-on: ubuntu-latest | |
needs: [run-examples] | |
steps: | |
- name: Checkout compare results | |
uses: actions/checkout@v4 | |
with: | |
repository: "glotaran/pyglotaran-examples" | |
ref: comparison-results | |
path: comparison-results | |
- name: Download result artifact | |
uses: actions/download-artifact@v4 | |
with: | |
pattern: example-results-* | |
merge-multiple: true | |
path: comparison-results-current | |
- name: Delete Intermediate artifacts | |
uses: GeekyEggo/delete-artifact@v5 | |
with: | |
name: example-results-* | |
- name: Show used versions for result creation | |
run: | | |
echo "::group:: ✔️ Compare-Results" | |
echo "✔️ pyglotaran-examples commit: $(< comparison-results/example_commit_sha.txt)" | |
echo "✔️ pyglotaran commit: $(< comparison-results/pyglotaran_commit_sha.txt)" | |
echo "::endgroup::" | |
echo "::group:: ♻️ Current-Results" | |
echo "♻️ pyglotaran-examples commit: $(< comparison-results-current/example_commit_sha.txt)" | |
echo "::endgroup::" | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Run result validator | |
uses: glotaran/pyglotaran-validation@main | |
with: | |
validation_name: pyglotaran-examples |