Skip to content

Commit

Permalink
Fetch tags before running tests (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jan 17, 2023
1 parent ba0568f commit f4135d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: "100"
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: env setup
run: |
python -m pip install --upgrade "setuptools<66" pip wheel
python -m pip install --upgrade setuptools pip wheel
python -m pip install "tox<4" tox-gh-actions
- name: lint
run: tox -e flakes
Expand Down

0 comments on commit f4135d4

Please sign in to comment.