build: test CI here
Some checks failed
Run Tests / build (push) Failing after 28s

This commit is contained in:
2025-05-20 22:02:53 +02:00
parent 061e7fb96e
commit 5b47769f58

View File

@ -6,21 +6,21 @@ jobs:
build:
runs-on: ubuntu-latest
environment: test
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check out files
uses: actions/checkout@v4
- name: Install Python
run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pytest-env
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python3 -m pip install --upgrade pip
pip3 install pytest pytest-cov pytest-env
if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
- name: Test with pytest
env:
VXTWITTER_WORKAROUND_TOKENS: ${{ secrets.VXTWITTER_WORKAROUND_TOKENS }}