Skip to content

Commit

Permalink
Use default version to simplify GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed May 17, 2022
1 parent 7725e11 commit 181a373
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
git config user.email "me@example.com"
git config user.name "Me"
git tag -a 1.0.0 -m "1.0.0"
python -m pip install --upgrade pip
pip install pytest pytest-mock pytest-benchmark pytz .
- name: Set up Postgresql
Expand Down Expand Up @@ -79,9 +76,6 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
git config user.email "me@example.com"
git config user.name "Me"
git tag -a 1.0.0 -m "1.0.0"
python -m pip install --upgrade pip
pip install pytest pytest-mock pytest-benchmark pytz .
- name: Test with pytest
Expand Down Expand Up @@ -135,9 +129,6 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
git config user.email "me@example.com"
git config user.name "Me"
git tag -a 1.0.0 -m "1.0.0"
python -m pip install --upgrade pip
pip install pytest pytest-mock pytest-benchmark pytz .
- name: SSL Test
Expand Down Expand Up @@ -172,9 +163,6 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
git config user.email "me@example.com"
git config user.name "Me"
git tag -a 1.0.0 -m "1.0.0"
python -m pip install --upgrade pip
pip install black flake8 pytest flake8-alphabetize .
- name: Lint check
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ build-backend = "setuptools.build_meta"

[tool.versioningit]

[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.0"

[tool.tox]
legacy_tox_ini = """
[tox]
Expand Down

0 comments on commit 181a373

Please sign in to comment.