You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cache/github_workflows_ubuntu-lat...

33 lines
752 B
Plaintext

name: Ubuntu Latest CI - m-nodoubtz
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
name: Build and Test on Ubuntu Latest (m-nodoubtz)
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
if [ -f pytest.ini ] || [ -f setup.cfg ] || [ -f tox.ini ]; then
pytest
else
echo "No test config found, skipping tests."
fi