Skip to content

Fixing Github action to use Rye: Take 5. #23

Fixing Github action to use Rye: Take 5.

Fixing Github action to use Rye: Take 5. #23

Workflow file for this run

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:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- 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