Skip to content

Commit

Permalink
Print package version in GitHub test Action
Browse files Browse the repository at this point in the history
  • Loading branch information
orome committed Oct 25, 2023
1 parent 3caeb07 commit 63f4aaa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Display Python version (${{ matrix.python-version }})
run: python -c "import sys; print(sys.version)"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Display Python version (${{ matrix.python-version }})
run: python -c "import sys; print(sys.version)"

- name: Display package version
run: python -c "import automata; print(automata.__version__)"

# Skip for Windows; path setting there isn't worth the trouble
- name: Run eyeball tests
if: runner.os != 'Windows'
Expand Down

0 comments on commit 63f4aaa

Please sign in to comment.