Skip to content

Commit 84628b6

Browse files
authored
Fix release action (#140)
1 parent 2175c9a commit 84628b6

7 files changed

Lines changed: 15 additions & 17 deletions

File tree

.github/workflows/auto_generate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.10
13+
- name: Set up Python 3.13
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.13"
1717
- name: Generate
1818
run: |
1919
if ! which yq; then

.github/workflows/master.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.10
13+
- name: Set up Python 3.13
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.13"
1717
- name: Test
1818
run: |
1919
pip install .[dev]
20-
nosetests
20+
python -m unittest discover -v -p 'test_*.py' -s test
2121
- name: Package
2222
run: |
2323
python -m pip install setuptools wheel

.github/workflows/pull_request.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.10
13+
- name: Set up Python 3.13
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.13"
1717
- name: Test
1818
run: |
1919
pip install .[dev]
20-
nosetests
20+
python -m unittest discover -v -p 'test_*.py' -s test

.github/workflows/release-drafter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: release-drafter/release-drafter@v5
13+
- uses: release-drafter/release-drafter@v6
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- name: Set up Python 3.8
14-
uses: actions/setup-python@v1
12+
- uses: actions/checkout@v4
13+
- name: Set up Python 3.13
14+
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.8
16+
python-version: "3.13"
1717
- name: Test
1818
run: |
1919
pip install .[dev]
20-
nosetests
20+
python -m unittest discover -v -p 'test_*.py' -s test
2121
- name: Package
2222
run: |
2323
python -m pip install setuptools wheel

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ htmlcov/
4040
.coverage
4141
.coverage.*
4242
.cache
43-
nosetests.xml
4443
coverage.xml
4544
*,cover
4645
.hypothesis/
@@ -64,4 +63,4 @@ target/
6463
.ipynb_checkpoints
6564

6665
.idea/
67-
metal-api.json
66+
metal-api.json

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
install_requires=REQUIRES,
2222
extras_require=dict(
2323
dev=[
24-
"nose",
2524
"coverage",
2625
]
2726
),

0 commit comments

Comments
 (0)