Skip to content

Commit

Permalink
ci: add one-time version check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moldhouse committed Nov 4, 2024
1 parent 136dbfa commit 460d7f7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-version.yml
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'"

0 comments on commit 460d7f7

Please sign in to comment.