install types fix #86
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: Build package | |
on: | |
push: | |
branches: | |
- "**" | |
tags-ignore: | |
- "**" | |
jobs: | |
build: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Make package | |
run: | | |
make build | |
- name: Test | |
env: | |
API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }} | |
API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }} | |
API_PASSWORD: ${{ secrets.API_PASSWORD }} | |
API_USER: ${{ secrets.API_USER }} | |
API_URL: ${{ vars.API_URL }} | |
AUTH_URL: ${{ vars.AUTH_URL }} | |
run: | | |
make tests API_URL=$API_URL AUTH_URL=$AUTH_URL API_CLIENT_ID=$API_CLIENT_ID API_CLIENT_SECRET=$API_CLIENT_SECRET API_USER=$API_USER API_PASSWORD=$API_PASSWORD | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action/composite@v2 | |
id: test-results | |
if: always() | |
with: | |
files: | | |
tests/out/*.xml | |