Skip to content

Commit

Permalink
fix(test): add test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickersoft committed Dec 20, 2023
1 parent f360577 commit eaf2ded
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
env:
POETRY_VIRTUALENVS_IN_PROJECT: true
run: just test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: code
path: /home/runner/work/odict
path: /home/runner/work/odict
2 changes: 2 additions & 0 deletions lib/dump/dump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"testing"

"github.com/TheOpenDictionary/odict/lib/core"
"github.com/TheOpenDictionary/odict/lib/test"
"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -35,4 +36,5 @@ func TestDictionaryToXML(t *testing.T) {

assert.Equal(t, dict_r, newdict_r)

test.CleanupTest()
}

0 comments on commit eaf2ded

Please sign in to comment.