Fixing Github action to use Rye: Take 2. #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fauxfactory Checks | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install a specific version | |
uses: eifinger/setup-rye@v2 | |
- name: Install dependencies | |
run: | | |
rye sync | |
- name: Pre Commit Checks | |
uses: pre-commit/[email protected] | |
- name: Run checks | |
run: | | |
make all | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 |