Skip to content

Commit

Permalink
fix annotation issue of deprecated variables
Browse files Browse the repository at this point in the history
  • Loading branch information
elkanamol committed Sep 1, 2024
1 parent ef76ab1 commit b2b6539
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ jobs:
python-version: '3.8.x'

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -40,10 +39,12 @@ jobs:
id: run-tests
run: |
test_output=$(python -m unittest discover tests)
echo "::set-output name=test_output::$test_output"
echo "test_output<<EOF" >> $GITHUB_OUTPUT
echo "$test_output" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Print test results
if: always()
run: |
echo "Test Results:"
echo "${{ steps.run-tests.outputs.test_output }}"
echo "${{ steps.run-tests.outputs.test_output }}" echo "${{ steps.run-tests.outputs.test_output }}"

0 comments on commit b2b6539

Please sign in to comment.