Skip to content

Commit b5df3cf

Browse files
committed
Removed 3.8 from support
1 parent c2c771c commit b5df3cf

2 files changed

Lines changed: 46 additions & 47 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
run: |
1717
if [[ "${{ github.event_name }}" == 'push' && "${{ github.ref }}" == 'refs/heads/master' ]]; then
1818
# Push to master branch
19-
echo 'matrix=["3.8", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
19+
echo 'matrix=["3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
2020
elif [[ "${{ github.event_name }}" == 'pull_request' && "${{ github.event.pull_request.base.ref }}" == 'master' ]]; then
2121
# PR to master branch
22-
echo 'matrix=["3.8", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
22+
echo 'matrix=["3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
2323
else
2424
echo 'matrix=["3.9", "3.11"]' >> $GITHUB_OUTPUT
2525
fi
@@ -42,7 +42,6 @@ jobs:
4242
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ matrix.python-version }}
45-
cache: false
4645

4746
- uses: actions/cache@v4
4847
with:
Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
on:
2-
push:
3-
branches: ["develop"]
4-
pull_request:
5-
branches: ["develop"]
6-
7-
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
11-
strategy:
12-
matrix:
13-
python-version: ["3.8", "3.11"]
14-
15-
steps:
16-
- uses: actions/checkout@v4
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
22-
- name: Create work directory
23-
run: |
24-
mkdir workdir
25-
echo "WORKDIR=$(pwd)/workdir" >> $GITHUB_OUTPUT
26-
27-
- name: Create and activate virtual environment
28-
run: |
29-
cd $WORKDIR
30-
python -m venv .venv
31-
source .venv/bin/activate
32-
33-
- name: Install package
34-
run: |
35-
cd $WORKDIR
36-
source .venv/bin/activate
37-
python -m pip install --upgrade pip
38-
pip install $GITHUB_WORKSPACE
39-
40-
- name: Run post-installation test
41-
run: |
42-
cd $WORKDIR
43-
source .venv/bin/activate
44-
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"
1+
on:
2+
push:
3+
branches: ["develop"]
4+
pull_request:
5+
branches: ["develop"]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
python-version: ["3.9", "3.11"]
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Create work directory
23+
run: |
24+
mkdir workdir
25+
echo "WORKDIR=$(pwd)/workdir" >> $GITHUB_OUTPUT
26+
27+
- name: Create and activate virtual environment
28+
run: |
29+
cd $WORKDIR
30+
python -m venv .venv
31+
source .venv/bin/activate
32+
33+
- name: Install package
34+
run: |
35+
cd $WORKDIR
36+
source .venv/bin/activate
37+
python -m pip install --upgrade pip
38+
pip install $GITHUB_WORKSPACE
39+
40+
- name: Run post-installation test
41+
run: |
42+
cd $WORKDIR
43+
source .venv/bin/activate
44+
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"

0 commit comments

Comments
 (0)