Skip to content

Commit

Permalink
Update package.yaml to restore testAutomation
Browse files Browse the repository at this point in the history
  • Loading branch information
xmichele authored Sep 27, 2024
1 parent 96b5165 commit ada07b9
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,26 @@ jobs:
pip install hatch
- name: Build package
run: hatch build
# - name: Test package
# run: hatch -e test run nose2 --verbose
# Install Minikube
- name: Install Minikube
run: |
sudo apt-get update -y
sudo apt-get install -y apt-transport-https
sudo curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
# Start Minikube
- name: Start Minikube
run: |
minikube start --driver=docker
# Print Kubeconfig path
- name: Print Kubeconfig path
run: |
echo "KUBECONFIG: $(minikube kubeconfig)"
# Save Kubeconfig as an environment variable for further use
- name: Export KUBECONFIG environment variable
run: echo "KUBECONFIG=$(minikube kubeconfig)" >> $GITHUB_ENV
- name: Test package
run: hatch -e test run nose2 --verbose
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit ada07b9

Please sign in to comment.