Skip to content

Commit

Permalink
add explicit shell argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Nov 22, 2023
1 parent b897553 commit 3f0d834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/actions/archive-test-results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ inputs:
required: true
file-name-stub: # e.g. unit, integration
required: true
defaults:
run:
shell: bash
runs:
using: 'composite'
steps:
- name: Get current date
if: always()
id: date
shell: bash
run: echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT # no colons allowed for artifacts
- uses: actions/upload-artifact@v3
if: always()
Expand Down
5 changes: 2 additions & 3 deletions .github/actions/run-unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ inputs:
python-version:
required: true
default: '3.8'
defaults:
run:
shell: bash
runs:
using: 'composite'
steps:
Expand All @@ -14,8 +11,10 @@ runs:
with:
python-version: ${{ inputs.python-version }}
- name: Install dependencies
shell: bash
run: |
python -m pip install --user --upgrade pip
python -m pip install .[test]
- name: Run unit tests
shell: bash
run: python -m pytest tests/unit

0 comments on commit 3f0d834

Please sign in to comment.