Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump PyInstaller and add tests #174

Merged
merged 5 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,29 @@ jobs:
run: tox -e ruff
- name: Run unit tests
run: tox -e py39

build_artifacts:
name: Build and test executables
continue-on-error: true
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install requirements
run: |
python -m pip install .
python -m pip install -r scripts/build_requirements.txt
- name: Build and upload executables
run: python scripts/build.py -f -n datadog-sync
- name: Run executable
shell: bash
run: |
dist/datadog-sync diffs --validate=false
exit $?
2 changes: 1 addition & 1 deletion scripts/build_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyinstaller==5.9.0
pyinstaller==5.13.2
pygithub==1.58.0
Loading