Skip to content

Commit

Permalink
Merge pull request #334 from kronenthaler/ci-upgrades
Browse files Browse the repository at this point in the history
chore: ci upgrades
  • Loading branch information
kronenthaler authored Oct 11, 2023
2 parents e0c4200 + 3caeb18 commit 3b20aa2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/branch-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:

strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.x']
python: ['3.8', '3.9', '3.10', '3.11', '3.x']

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
id: checkout
uses: actions/checkout@v3

- name: Setup
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.x'

Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/stale.yml

This file was deleted.

11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
.PHONY: coverage coverage-term test
.PHONY: coverage coverage-term test install-dependencies

coverage:
coverage: install-dependencies
cd tests; pytest --cov-report=xml --cov=../ --cov-branch
cd tests; rm -rf .coverage

coverage-term:
coverage-term: install-dependencies
cd tests; pytest --cov-report=term --cov=../ --cov-branch
cd tests; rm -rf .coverage

test:
cd tests; pytest
cd tests; pytest

install-dependencies:
pip3 install -r dev-requirements.txt

0 comments on commit 3b20aa2

Please sign in to comment.