-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add one-time version check workflow
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: One time version test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
- name: Setup Poetry | ||
uses: Gr1N/setup-poetry@v9 | ||
- name: Install deps | ||
run: poetry install | ||
- name: Assert tag version matches __version__ attribute | ||
run: | | ||
poetry run python -c "import sys; sys.path.pop(0); \ | ||
import aleph_alpha_client; \ | ||
assert aleph_alpha_client.__version__ == '7.5.0'" |