Commit
·
7b19f32
1
Parent(s):
88e989c
Delete .github
Browse files- .github/workflows/release.yml +0 -17
- .github/workflows/test.yml +0 -22
.github/workflows/release.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
name: Python Bump Version & release
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches:
|
| 6 |
-
- main
|
| 7 |
-
paths-ignore:
|
| 8 |
-
- "configs.example/**" # ignores all files in configs.example
|
| 9 |
-
- "**/README.md" # ignores all README files
|
| 10 |
-
- "experiments/**" # ignores all files in experiments directory
|
| 11 |
-
|
| 12 |
-
jobs:
|
| 13 |
-
release:
|
| 14 |
-
uses: openclimatefix/.github/.github/workflows/python-release.yml@main
|
| 15 |
-
secrets:
|
| 16 |
-
token: ${{ secrets.PYPI_API_TOKEN }}
|
| 17 |
-
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/workflows/test.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
name: Python package tests
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
pull_request:
|
| 6 |
-
types: [opened, reopened]
|
| 7 |
-
schedule:
|
| 8 |
-
- cron: "0 12 * * 1"
|
| 9 |
-
jobs:
|
| 10 |
-
call-run-python-tests:
|
| 11 |
-
uses: openclimatefix/.github/.github/workflows/python-test.yml@main
|
| 12 |
-
with:
|
| 13 |
-
# 0 means don't use pytest-xdist
|
| 14 |
-
pytest_numcpus: "4"
|
| 15 |
-
# pytest-cov looks at this folder
|
| 16 |
-
pytest_cov_dir: "pvnet"
|
| 17 |
-
# extra things to install
|
| 18 |
-
sudo_apt_install: "libgeos++-dev libproj-dev proj-data proj-bin"
|
| 19 |
-
# brew_install: "proj geos librttopo"
|
| 20 |
-
os_list: '["ubuntu-latest"]'
|
| 21 |
-
python-version: "['3.10', '3.11']"
|
| 22 |
-
extra_commands: "pip3 install -e '.[all]'"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|