Skip to content

Commit a5c02f4

Browse files
committed
Pytest Github actions
1 parent 7ffa299 commit a5c02f4

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,16 @@ jobs:
2121
python: [3.10.11]
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Setup Python
26-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v5
2727
with:
28-
python-version: ${{ matrix.python }}
29-
- name: Install Tox
30-
run: pip install tox
31-
- name: Setup Java
32-
uses: actions/setup-java@v3
33-
with:
34-
distribution: 'temurin'
35-
java-version: '11'
36-
- name: Run Tox
37-
# Run tox using the version of Python in `PATH`
38-
run: tox -e py -v
28+
python-version: '3.11'
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -r requirements.txt
33+
- name: Test with pytest
34+
run: |
35+
pip install pytest
36+
pytest tests.py

0 commit comments

Comments
 (0)