Skip to content

Commit cf1ed1a

Browse files
authored
Update python-lint.yml
1 parent 76acbe6 commit cf1ed1a

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/python-lint.yml

+28-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,31 @@ jobs:
4646
- name: ruff format --check $ALL_CHANGED_FILES
4747
env:
4848
ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.all_changed_files }}
49-
run: ruff format $ALL_CHANGED_FILES
49+
run: ruff format $ALL_CHANGED_FILES
50+
51+
unit_tests_ubuntu_utc:
52+
name: Unit Testing (Ubuntu)
53+
needs: lint_stylecheck
54+
runs-on: ubuntu-latest
55+
56+
steps:
57+
- name: Set Timezone
58+
run: sudo timedatectl set-timezone UTC
59+
60+
- uses: actions/checkout@v4
61+
- name: Copy README
62+
run: cp README.md python/
63+
64+
- uses: actions/setup-python@v5
65+
name: Setup Python
66+
with:
67+
python-version: "3.9"
68+
cache: "pip"
69+
cache-dependency-path: "python/setup.py"
70+
- run: pip install -e python[dev]
71+
72+
- name: Display Python version
73+
run: python --version
74+
75+
- name: Run Pytest suite
76+
run: pytest python/tests

0 commit comments

Comments
 (0)