-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: upload testing results as artifacts
- Loading branch information
Showing
3 changed files
with
44 additions
and
26 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 |
---|---|---|
|
@@ -50,6 +50,8 @@ jobs: | |
# include: | ||
# - python-version: pypy-3.10 | ||
# runs-on: ubuntu-latest | ||
env: | ||
TZ: America/New_York | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -61,6 +63,11 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
|
||
- name: Set env vars | ||
run: | | ||
export DATETIME_STRING=$(date +%Y%m%d%H%M%S) | ||
echo "DATETIME_STRING=${DATETIME_STRING}" >> $GITHUB_ENV | ||
- name: Install package | ||
run: | | ||
set -vxeuo pipefail | ||
|
@@ -71,5 +78,12 @@ jobs: | |
python -m pytest -ra --cov --cov-report=xml --cov-report=term | ||
--durations=20 -m "(not hardware) and (not tiled)" -s -vv | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-artifacts-{{ env.DATETIME_STRING }} | ||
path: /tmp/srx-caproto-iocs/ | ||
retention-days: 14 | ||
|
||
- name: Upload coverage report | ||
uses: codecov/[email protected] |
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
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