Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions .github/workflows/run-unittests.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,35 @@
name: Python package

on:
push:
branches:
- master # Only run on pushes to master
pull_request:
types: [opened, synchronize] # Run on PRs from any branch
on: [push]

jobs:
unittests:

name: Run unit tests for skaworkflows
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

include:
- python-version: "3.10"
- python-version: "3.11"
- python-version: "3.12"
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel coveralls pytest pytest-cov
run: python -m pip install -U pip setuptools wheel coveralls pytest pytest-cov

- name: Install skaworkflows
run: |
pip install .
run: pip install .

- name: Run unittests with coverage
run: |
pytest . --cov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run: pytest . --cov

- name: Upload to Coveralls
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.ini

This file was deleted.

48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "skaworkflows"
version = "0.1.0"
description = "Workflows for experiments with SKA Science Data Processor"
authors = [
{ name = "Ryan Bunney", email = "[email protected]" },
]
license = { text = "GNU" }
readme = "README.md"
requires-python = ">=3.10"

dependencies = [
"numpy>=1.2.0",
"networkx>=2.0",
"matplotlib>=3.0",
"pandas>=0.20",
"coverage",
"IPython",
"pydot",
"coveralls",
"daliuge-common",
"daliuge-engine",
"daliuge-translator",
"sdp-par-model @ git+https://github.com/top-sim/sdp-par-model",
"ipywidgets",
"scipy",
"sympy",
"notebook",
"ipywidgets",
"graphviz",
"pymp-pypi",
"pylru",
"sortedcontainers",
"pyyaml"
]

[project.urls]
Homepage = "https://github.com/top-sim/skaworkflows"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
exclude = ["docs"]
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Loading