Bump actions/github-script from 6 to 7 #158
Workflow file for this run
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: Version Branch CI/CD | |
on: | |
pull_request: | |
branches: ["v*"] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install the latest version of Rye | |
uses: eifinger/setup-rye@v4.2.1 | |
- name: Setup the environment | |
run: rye sync --all-features | |
- name: Test with pytest | |
run: rye run pytest --cov=epochlib --cov-branch --cov-fail-under=95 tests | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install the latest version of Rye | |
uses: eifinger/setup-rye@v4.2.1 | |
- name: Build the package | |
run: rye build | |
- uses: actions/upload-artifact@v4.3.6 | |
with: | |
path: ./dist |