Skip to content

Commit

Permalink
Update python-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey authored Jul 1, 2024
1 parent 76acbe6 commit cf1ed1a
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,31 @@ jobs:
- name: ruff format --check $ALL_CHANGED_FILES
env:
ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.all_changed_files }}
run: ruff format $ALL_CHANGED_FILES
run: ruff format $ALL_CHANGED_FILES

unit_tests_ubuntu_utc:
name: Unit Testing (Ubuntu)
needs: lint_stylecheck
runs-on: ubuntu-latest

steps:
- name: Set Timezone
run: sudo timedatectl set-timezone UTC

- uses: actions/checkout@v4
- name: Copy README
run: cp README.md python/

- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: "python/setup.py"
- run: pip install -e python[dev]

- name: Display Python version
run: python --version

- name: Run Pytest suite
run: pytest python/tests

0 comments on commit cf1ed1a

Please sign in to comment.