Skip to content

Commit

Permalink
gitbuh actions run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
szn committed Apr 6, 2024
1 parent 594d3ab commit 319c4f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: test
- name: Install pip
run: python -m pip install --upgrade pip --user
- name: Install pytest
run: python -m pip install -r requirements.txt --user
- name: Run tests
shell: bash
env:
CONFLUENCE_USER: ${{ secrets.CONFLUENCE_USER }}
Expand All @@ -31,6 +29,8 @@ jobs:
-c "import src.tests.test_confluencemd"
--user="$CONFLUENCE_USER"
--token="$CONFLUENCE_TOKEN"
- name: Install pypi/build
run: python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: >-
python -m
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ requires = [
"wheel"
]
build-backend = "setuptools.build_meta"

[pytest]
log_cli = True

0 comments on commit 319c4f2

Please sign in to comment.