Skip to content

Commit

Permalink
User tox-github-action
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lerch <[email protected]>
  • Loading branch information
ryanlerch committed Feb 27, 2024
1 parent 7fc6a2b commit 0b91fd9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:
jobs:
misc_tests:
name: Misc tests
container:
image: fedorapython/fedora-python-tox
options: --user 1001:1001
steps:
- uses: actions/checkout@v4
- name: Run tests
run: tox -e ${{ matrix.tox_env }}
- name: Run Tests
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
# dnf_install: pre-commit git libpq-devel poetry krb5-devel openldap-devel python-distlib
strategy:
matrix:
tox_env:
Expand All @@ -34,13 +34,13 @@ jobs:

unit_tests:
name: Unit tests
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Mark the directory as safe for git
run: git config --global --add safe.directory $PWD
- name: Run tests
run: tox -e ${{ matrix.tox_env }}
- name: Run Tests
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
#dnf_install: pre-commit git libpq-devel poetry krb5-devel openldap-devel python-distlib
strategy:
matrix:
tox_env:
Expand Down

0 comments on commit 0b91fd9

Please sign in to comment.