Skip to content

Commit d80b46b

Browse files
committed
adjusted test job in pipeline
1 parent 389b64a commit d80b46b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ jobs:
6161
test:
6262
runs-on: ubuntu-latest
6363
container:
64-
image: sergioteula/pytools
65-
volumes:
66-
- ${{github.workspace}}:/code
64+
image: python:3.12
6765
steps:
6866
- name: Check out code
6967
uses: actions/checkout@v4
68+
- name: Install dependencies
69+
run: pip install coverage certifi six python_dateutil setuptools urllib3
7070
- name: Run tests
71-
run: ./scripts/run_tests
71+
run: coverage run -m unittest && coverage xml && coverage report
7272
- name: Save code coverage file
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
name: coverage
7676
path: coverage.xml

0 commit comments

Comments
 (0)