Skip to content

Commit

Permalink
🚇 Added result consistency testing to the integration test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Jul 20, 2021
1 parent cb2d48b commit 17c55bb
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,45 @@ jobs:
- name: Upload Example Plots Artifact
uses: actions/upload-artifact@v2
with:
name: example-results
name: example-plots
path: ${{ steps.example-run.outputs.plots-path }}

- name: Upload Example Results
uses: actions/upload-artifact@v2
with:
name: example-results
path: ~/pyglotaran_examples_results

compare-results:
name: Compare Results
runs-on: ubuntu-latest
needs: [run-examples]
steps:
- name: Checkout glotaran
uses: actions/checkout@v2

- name: Checkout compare results
uses: actions/checkout@v2
with:
repository: "glotaran/pyglotaran-examples"
ref: comparison-results
path: comparison-results

- name: Download result artifact
uses: actions/download-artifact@v2
with:
name: example-results
path: comparison-results-current

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
pip install xarray pytest netCDF4
- name: Compare Results
run: |
python -m pytest .github/test_result_consistency.py -vv

0 comments on commit 17c55bb

Please sign in to comment.