diff --git a/.github/workflows/branch-check.yml b/.github/workflows/branch-check.yml index 1f15f29..e80137d 100644 --- a/.github/workflows/branch-check.yml +++ b/.github/workflows/branch-check.yml @@ -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 }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b6af866..11a06cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 8a4655a..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: "close-stale-issues" - -on: - schedule: - - cron: "0 0 1 * *" - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 60 - days-before-close: 10 - stale-issue-message: 'This issue has become stale, the required information has not been provided and it is been marked for closure in the next 10 days' - stale-issue-label: 'not-enough-info' - exempt-issue-label: 'enhancement' diff --git a/Makefile b/Makefile index f4078af..cfd589b 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + cd tests; pytest + +install-dependencies: + pip3 install -r dev-requirements.txt