mirror of
https://github.com/actions/cache.git
synced 2025-06-28 05:33:46 +00:00
Add files via upload
Signed-off-by: Nodoubtz <53144580+nodoubtz@users.noreply.github.com>
This commit is contained in:
parent
6b029d89b4
commit
e5bdd57858
1 changed files with 33 additions and 0 deletions
33
github_workflows_ubuntu-latest-m-nodoubtz.yml.txt
Normal file
33
github_workflows_ubuntu-latest-m-nodoubtz.yml.txt
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
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
|
Loading…
Add table
Add a link
Reference in a new issue