Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Jun 22, 2024
1 parent fb7b88d commit 19b4b16
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 85 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/deploy_to_pypi.yaml

This file was deleted.

24 changes: 1 addition & 23 deletions .github/workflows/format_and_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,4 @@ jobs:
pip install black flake8
- name: Run Black
run: black -S .

- name: Check for changes after Black
id: git_status
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git status
if [[ `git status --porcelain` ]]; then
git add .
git commit -m "Format code with Black"
else
echo "No changes to commit"
fi
- name: Push changes
if: success() && steps.git_status.outputs.commit_message != ''
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Flake8
run: flake8 .
run: black -S --diff .
30 changes: 0 additions & 30 deletions .github/workflows/tests.yaml

This file was deleted.

0 comments on commit 19b4b16

Please sign in to comment.