Bump setuptools from 69.5.1 to 70.0.0 #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python tests | ||
on: [push] | ||
env: | ||
PYTHON_VERSION: 3.9 | ||
POETRY_VERSION: 1.7.1 | ||
PROJECT_KEY: thegangtechnology_thai_national_id_smartcard | ||
jobs: | ||
# yes this seems stupid but read https://github.com/orgs/community/discussions/26671 | ||
# you can't use env directly in reusable workflow. Seems very arbitary to me though. | ||
get-env: | ||
name: Get Environment vars | ||
runs-on: ubuntu-latest | ||
outputs: | ||
PYTHON_VERSION: ${{ env.PYTHON_VERSION }} | ||
POETRY_VERSION: ${{ env.POETRY_VERSION }} | ||
PROJECT_KEY: ${{ env.PROJECT_KEY }} | ||
steps: | ||
- run: echo "null" | ||
lint: | ||
needs: get-env | ||
uses: thegangtechnology/shared-workflow/.github/workflows/python-lint.yml@main | ||
Check failure on line 25 in .github/workflows/python-tests.yml GitHub Actions / .github/workflows/python-tests.ymlInvalid workflow file
|
||
with: | ||
python-version: ${{ needs.get-env.outputs.PYTHON_VERSION }} | ||
test-and-sonarqube: | ||
needs: get-env | ||
uses: thegangtechnology/shared-workflow/.github/workflows/python-test-sonarqube.yml@main | ||
with: | ||
python-version: ${{ needs.get-env.outputs.PYTHON_VERSION }} | ||
poetry-version: ${{ needs.get-env.outputs.POETRY_VERSION }} | ||
project-key: ${{ needs.get-env.outputs.PROJECT_KEY }} | ||
secrets: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |