Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuangnm authored and dhuangnm committed Sep 13, 2024
1 parent 3a5f93d commit daaf8d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ runs:
with:
venv: ${{ inputs.venv }}
name: compressed
extra: ${EXTRA}
extra: "[dev,accelerate]"

- name: test
id: test
run: |
source ${{ inputs.venv }}/bin/activate
SUCCESS=0
echo "running tests..."
rm -rf src
SUCCESS=0
pytest tests --junitxml=test-results/report.xml || SUCCESS=$?
echo "status=${SUCCESS}" >> "$GITHUB_OUTPUT"
deactivate
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,6 @@ jobs:
name: ${{ inputs.whl }}
path: ${{ inputs.whl }}

- name: dependency
run: |
if [[ "${{ inputs.whl }}" =~ nightly ]]; then
echo "EXTRA=[dev,accelerate]" >> $GITHUB_ENV
else
echo "EXTRA=[dev]" >> $GITHUB_ENV
fi
- name: run tests
id: test
uses: ./.github/actions/test/
Expand Down

0 comments on commit daaf8d6

Please sign in to comment.