Skip to content

Commit 519fc21

Browse files
authored
Merge pull request #59 from tcalmant/project-overhaul-2
Project overhaul 2
2 parents b7608b6 + d25a574 commit 519fc21

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build-20.04.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: CI Build - Python 3.4-3.7
4+
name: CI Build - Python 3.5-3.7
55

66
on:
77
push:
@@ -17,14 +17,16 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.4", "3.5", "3.6", "3.7"]
20+
python-version: ["3.5", "3.6", "3.7"]
2121

2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Set up Python ${{ matrix.python-version }}
2525
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
env:
29+
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
2830
- name: Install dependencies
2931
run: |
3032
python -m pip install --upgrade pip
@@ -41,7 +43,7 @@ jobs:
4143
coverage run -m pytest
4244
- name: Coveralls
4345
env:
44-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
46+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
4547
run: |
4648
pip install coveralls
4749
coveralls

.github/workflows/build-24.04.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
python -m pip install flake8 pytest
31+
python -m pip install flake8 pytest coverage
3232
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3333
- name: Lint with flake8
3434
run: |
@@ -41,7 +41,7 @@ jobs:
4141
coverage run -m pytest
4242
- name: Coveralls
4343
env:
44-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
44+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
4545
run: |
4646
pip install coveralls
4747
coveralls

0 commit comments

Comments
 (0)