Skip to content

Commit 766b03a

Browse files
committed
Test 1034
1 parent acde442 commit 766b03a

File tree

5 files changed

+16
-106
lines changed

5 files changed

+16
-106
lines changed

.github/workflows/3.13-test.yml

-21
This file was deleted.

.github/workflows/PR-708.yml

-30
This file was deleted.

.github/workflows/issue-819.yml

-19
This file was deleted.

.github/workflows/python-app.yml

+16-36
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,32 @@
1-
name: Test Setup Python with Cache
1+
name: Test Python Versions
22

3-
on:
4-
push:
5-
branches:
6-
- test-pr-896
7-
pull_request:
8-
branches:
9-
- main
3+
on: [push, pull_request]
104

115
jobs:
12-
build:
13-
runs-on: ${{ matrix.os }}
6+
test:
7+
runs-on: windows-latest
148
strategy:
159
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-latest]
17-
python-version: ["3.12.3"]
18-
cache: [pip, poetry, pipenv]
19-
10+
python-version: ['3.13', '3.12', '3.9', '3.10', '3.11']
2011
steps:
2112
- name: Checkout repository
2213
uses: actions/checkout@v4
2314

24-
- name: Set up Poetry
25-
if: matrix.cache == 'poetry'
26-
run: |
27-
curl -sSL https://install.python-poetry.org | python3 -
28-
echo "$HOME/.local/bin" >> $GITHUB_PATH
29-
30-
- name: Setup Python
31-
uses: priyagupta108/[email protected]
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v5
3217
with:
33-
python-version: ${{ matrix.python-version }}
34-
cache: ${{ matrix.cache }}
18+
python-version: ${{ matrix.python-version }}
19+
cache: pip
20+
cache-dependency-path:
21+
requirements/*.txt
3522

36-
- name: Cache dependencies with pip
37-
if: matrix.cache == 'pip'
23+
24+
25+
- name: Install dependencies
3826
run: |
3927
python -m pip install --upgrade pip
4028
pip install -r requirements.txt
4129
42-
- name: poetry install
43-
if: matrix.cache == 'poetry'
44-
run: |
45-
poetry install
46-
47-
- name: Cache dependencies with Pipenv
48-
if: matrix.cache == 'pipenv'
30+
- name: Run tests
4931
run: |
50-
pip install --upgrade pip
51-
pip install pipenv
52-
pipenv install
32+
python test_script.py
File renamed without changes.

0 commit comments

Comments
 (0)