Clean up dependabot test failures (#482) #294
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: analytics test suite | |
on: | |
push: | |
branches: | |
- master | |
- '**Tests**' | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test-setup-python: | |
name: Test setup-python | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run with setup-python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Setup required modules | |
run: python -m pip install -r requirements.txt | |
- name: Run tests | |
run: python -m unittest discover -s segment | |
- name: Run with setup-python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Setup required modules | |
run: python -m pip install -r requirements.txt | |
- name: Run tests | |
run: python -m unittest discover -s segment | |
- name: Run with setup-python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Setup required modules | |
run: python -m pip install -r requirements.txt | |
- name: Run tests | |
run: python -m unittest discover -s segment | |
- name: Run with setup-python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Setup required modules | |
run: python -m pip install -r requirements.txt | |
- name: Run tests | |
run: python -m unittest discover -s segment |