-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add musl+gcc to regression test workflow (#6)
* CI: move regression test to a reuseable workflow * checkout is required to access reuseable workflow * change position of "uses" * regression test as reuseable action * specify shell in composite action * show gcc and ldd versions in action * add CI workflow for musl+gcc * add bash * install python in alpine * move setup-python out of the reuseable action * use Python venv * try to set up Python environment in bash * run pip with venv * What happens when pip runs in a different step? * use pipx * remove upgrade of pip * let pip break the system packages * install git * make sure ldd --version call always exists with exitcode 0 * parameterize artifact name * parameterize artifact name without input * revert back to using input * fix string concatenation * revert back to explicit artifact names
- Loading branch information
1 parent
baaffee
commit 1ba86af
Showing
2 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Regression tests | ||
|
||
inputs: | ||
artifact-name: | ||
description: 'Name of the uploaded artifact' | ||
required: false | ||
default: 'regression-test-results' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install SDF-pipeline | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install git+https://github.com/TUCAN-nest/SDF-pipeline.git | ||
shell: bash | ||
|
||
- name: Show gcc version | ||
run: | | ||
gcc --version | ||
shell: bash | ||
|
||
- name: Show ldd version | ||
run: | | ||
ldd --version || true | ||
shell: bash | ||
|
||
- name: Run regression tests | ||
run: python -m INCHI-1-TEST.run_regression_tests ci | ||
shell: bash | ||
|
||
- name: Upload regression test results | ||
if: '!cancelled()' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ inputs.artifact-name }} | ||
path: ./INCHI-1-TEST/data/ci/*_regression_test.log |
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