mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Integration tests workflow (2)
This commit is contained in:
parent
0c32cd74d9
commit
459be3d400
25
.github/workflows/integration_tests.yml
vendored
Normal file
25
.github/workflows/integration_tests.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Integration tests
|
||||||
|
|
||||||
|
on: [push, pull_request_target]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
SPOTIPY_CLIENT_ID: ${{ secrets.SPOTIPY_CLIENT_ID }}
|
||||||
|
SPOTIPY_CLIENT_SECRET: ${{ secrets.SPOTIPY_CLIENT_SECRET }}
|
||||||
|
PYTHON_VERSION: "3.10"
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install .[test]
|
||||||
|
- name: Run non user endpoints integration tests
|
||||||
|
run: |
|
||||||
|
python -m unittest discover -v tests/integration/non_user_endpoints
|
||||||
Loading…
Reference in New Issue
Block a user