Skip to content

Commit 3b5dfaa

Browse files
committed
Update MM email; remove unused workflows (docs and main); specify tests and draft-pdf workflow execution conditions
1 parent dd1ff98 commit 3b5dfaa

File tree

5 files changed

+19
-77
lines changed

5 files changed

+19
-77
lines changed

.github/workflows/docs.yml--DISABLED

-7
This file was deleted.

.github/workflows/draft-pdf.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
on: [push]
1+
on:
2+
push:
3+
branches: [ main ]
4+
pull_request:
5+
branches: [ main ]
26

37
jobs:
48
paper:

.github/workflows/main.yml--DISABLED

-63
This file was deleted.

.github/workflows/run_tests.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@ name: Tests
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
7+
cancel-in-progress: true
8+
59
jobs:
610
run_tests:
711
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.9", "3.10", "3.11"]
15+
fail-fast: false
16+
817
steps:
918
- uses: actions/checkout@v4
10-
- uses: actions/setup-python@v4
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
1122
with:
12-
python-version : '3.9'
23+
python-version : ${{ matrix.python-version }}
1324
cache: 'pip'
1425

1526
- name: Install dependencies
@@ -24,11 +35,8 @@ jobs:
2435
- name: Run fast tests
2536
run: |
2637
pip install pytest
27-
cd test
2838
python -m pytest
2939
3040
- name: Run slow tests
3141
run: |
32-
pip install pytest
33-
cd test
3442
python -m pytest --runslow

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_package_files(docs_root):
2424
description="Mann turbulence modelling",
2525
url="https://github.com/METHODS-Group/DRDMannTurb",
2626
author="Alexey Izmailov, Matthew Meeker, Yorgos Deskos based on code by Brendan Keith et al.",
27-
27+
2828
license="BSD 2-clause",
2929
packages=["drdmannturb"],
3030
include_package_data=True,

0 commit comments

Comments
 (0)