Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArzelaAscoIi committed Jul 31, 2024
1 parent 4fb40bf commit 50c6d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
for dir in integrations/*; do
if [ -f "$dir/pyproject.toml" ]; then
package_name=$(awk -F'[ ="]+' '$1 == "name" {print $2}' $dir/pyproject.toml)
python -c "import $package_name" || exit 1
import_name=$(echo $package_name | tr '-' '_')
python -c "import $import_name" || exit 1
fi
done

0 comments on commit 50c6d1e

Please sign in to comment.