Skip to content

Commit

Permalink
Update ci to remove py3.9 support and use latest actions versions of …
Browse files Browse the repository at this point in the history
…setup-python and checkout
  • Loading branch information
krzywon committed May 24, 2024
1 parent df95d80 commit b6ca357
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,22 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11']
fail-fast: false

steps:

- name: Obtain SasData source from git
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

### Caching of pip downloads and local wheel builds
- name: Get pip cache dir
id: pip-cache
run: |
echo "name={$(pip cache dir)}" >> $GITHUB_OUTPUT
- name: Obtain pip cache (Linux)
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.name }}
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/test.yml') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
cache: 'pip'
cache-dependency-path: |
**/ci.yml
**/requirements*.txt
### Installation of build-dependencies

Expand Down

0 comments on commit b6ca357

Please sign in to comment.