Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ci to pin python version
Browse files Browse the repository at this point in the history
ManiMozaffar committed Apr 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4df4410 commit e1064bd
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -78,13 +78,20 @@ jobs:
- name: Install the latest version of rye
uses: eifinger/setup-rye@v2

- run: make install
- name: Pin python-version ${{ matrix.python-version }}
run: rye pin ${{ matrix.python-version }}

- name: Install dependencies
run: make install

- run: make testcov
- name: Run test, with generating coverage on FastUI source
run: make testcov

- run: make testcov-report
- name: Run cov report generator
run: make testcov-report

- run: make typecheck
- name: Run type check on FastUI source
run: make typecheck

# ci on demo for 3.11 and 3.12, these ops are intentionally omitted, reason is that it's using 3.11 and 3.12 syntax
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
@@ -96,9 +103,11 @@ jobs:
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
run: make test-demo

- run: make testcov-xml
- name: Run XML coverage report generator
run: make testcov-xml

- uses: codecov/codecov-action@v4
- name: Upload coverage report from XML
uses: codecov/codecov-action@v4
with:
file: ./src/python-fastui/coverage.xml
env_vars: PYTHON,OS

0 comments on commit e1064bd

Please sign in to comment.