Skip to content

Commit fa86746

Browse files
committed
chore: remove duplicate test files, update release workflow
1 parent 60e1dc4 commit fa86746

366 files changed

Lines changed: 7 additions & 24490 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
- name: Check if tag already exists
4040
id: check-tag
4141
run: |
42-
if git ls-remote --tags origin | grep -q "refs/tags/v${{ steps.version.outputs.version }}$"; then
43-
echo "Tag v${{ steps.version.outputs.version }} already exists"
42+
if git ls-remote --tags origin | grep -q "refs/tags/${{ steps.version.outputs.version }}$"; then
43+
echo "Tag ${{ steps.version.outputs.version }} already exists"
4444
echo "tag_exists=true" >> $GITHUB_OUTPUT
4545
else
46-
echo "Tag v${{ steps.version.outputs.version }} does not exist"
46+
echo "Tag ${{ steps.version.outputs.version }} does not exist"
4747
echo "tag_exists=false" >> $GITHUB_OUTPUT
4848
fi
4949
@@ -55,7 +55,7 @@ jobs:
5555
git config user.name "github-actions[bot]"
5656
git config user.email "github-actions[bot]@users.noreply.github.com"
5757
58-
TAG_NAME="v${{ steps.version.outputs.version }}"
58+
TAG_NAME="${{ steps.version.outputs.version }}"
5959
6060
git tag "$TAG_NAME"
6161
git push origin "$TAG_NAME"
@@ -67,7 +67,7 @@ jobs:
6767
env:
6868
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
6969
run: |
70-
TAG_NAME="v${{ steps.version.outputs.version }}"
70+
TAG_NAME="${{ steps.version.outputs.version }}"
7171
7272
gh release create "$TAG_NAME" \
7373
--title "Release $TAG_NAME" \
@@ -79,9 +79,9 @@ jobs:
7979
uses: slackapi/slack-github-action@v2.0.0
8080
env:
8181
REPO_URL: "${{github.server_url}}/${{github.repository}}"
82-
RELEASE_URL: "${{github.server_url}}/${{github.repository}}/releases/tag/v${{ steps.version.outputs.version }}"
82+
RELEASE_URL: "${{github.server_url}}/${{github.repository}}/releases/tag/${{ steps.version.outputs.version }}"
8383
with:
8484
webhook: ${{ secrets.RELEASES_SLACK_WEBHOOK }}
8585
webhook-type: incoming-webhook
8686
payload: |
87-
text: "<${{ env.RELEASE_URL }}|v${{ steps.version.outputs.version }}> has been released for <${{ env.REPO_URL }}|${{ github.repository }}>"
87+
text: "<${{ env.RELEASE_URL }}|${{ steps.version.outputs.version }}> has been released for <${{ env.REPO_URL }}|${{ github.repository }}>"

revengai/test/__init__.py

Whitespace-only changes.

revengai/test/test_addr.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

revengai/test/test_ai_decompilation_rating.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

revengai/test/test_analyse_created.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

revengai/test/test_analyses_comments_api.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

revengai/test/test_analyses_core_api.py

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)