Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
1836df1
add separate testing workflow for PRs
andrewelamb Aug 22, 2025
3947411
update upload/artifact version
andrewelamb Aug 22, 2025
968b7e0
Potential fix for code scanning alert no. 5: Workflow does not contai…
andrewelamb Aug 22, 2025
3786930
removed some of prepare workflow
andrewelamb Aug 22, 2025
9af935f
ran pre commit
andrewelamb Aug 22, 2025
cc3a945
updated interogate to v1.7
andrewelamb Aug 22, 2025
63e5777
updated flake8 to v7.3
andrewelamb Aug 22, 2025
6289fff
update deprecated github action
andrewelamb Aug 22, 2025
0cba3f7
rremove download of files
andrewelamb Aug 22, 2025
a84e1c0
chnage to use pytest
andrewelamb Aug 22, 2025
2104bcd
comment out section that modifies pytest behavior
andrewelamb Aug 22, 2025
ca78a0f
add pipenv to create environment for pytest
andrewelamb Aug 22, 2025
6350629
fix pipenv testting
andrewelamb Aug 22, 2025
3cf3dbb
remove macos testing
andrewelamb Aug 22, 2025
f32637b
add step to install pyenv
andrewelamb Aug 22, 2025
6f582bf
remove py3.11
andrewelamb Aug 22, 2025
49b9d76
update python verison in setup file
andrewelamb Aug 22, 2025
ccce060
update python verison in setup file
andrewelamb Aug 22, 2025
889cafb
redo testing workflow
andrewelamb Aug 22, 2025
fa427d3
redo testing workflow
andrewelamb Aug 22, 2025
48c0470
redo testing workflow
andrewelamb Aug 22, 2025
3513b23
fix python version
andrewelamb Aug 22, 2025
ddfdd79
fix python version
andrewelamb Aug 22, 2025
0f50c23
remove python 3.12, 3.13 as possible versions
andrewelamb Aug 22, 2025
ba8fecf
redo testing workflow
andrewelamb Aug 22, 2025
b8bee54
using pipenv
andrewelamb Aug 22, 2025
ffdc52c
remove python req form pipfile
andrewelamb Aug 22, 2025
76ac35c
fix pipenv workflow
andrewelamb Aug 22, 2025
563fade
fix pipenv workflow
andrewelamb Aug 22, 2025
df7522a
change version of fs-synapse in cfg
andrewelamb Aug 22, 2025
c6c2618
change version of fs-synapse in cfg
andrewelamb Aug 22, 2025
3094cc0
updated piplock file
andrewelamb Aug 22, 2025
fb85cf5
set python verison in pipenv command
andrewelamb Aug 22, 2025
c09bc42
restrict python to 3.11
andrewelamb Aug 22, 2025
e6a1af8
add synapse toekn as env var
andrewelamb Aug 26, 2025
39e4795
add checks for auth token
andrewelamb Aug 26, 2025
eb67219
remove auth token checks
andrewelamb Aug 26, 2025
7c6fa07
change auth token secret
andrewelamb Aug 26, 2025
1cd983a
revert secret back to original name
andrewelamb Aug 26, 2025
a653730
change python command to python3
andrewelamb Aug 26, 2025
568ea7d
change python3 command to python
andrewelamb Aug 26, 2025
0085401
add not slow to tests
andrewelamb Aug 26, 2025
3ee9637
add python 3.10
andrewelamb Aug 26, 2025
1de84c5
add exceptiongroup to dev dependencies
andrewelamb Aug 26, 2025
7e4cbb9
add exceptiongroup to dependencies
andrewelamb Aug 26, 2025
1608b5f
move exceptiongroup to workflow
andrewelamb Aug 26, 2025
f4cc4af
bumpy pypi to 8.0
andrewelamb Aug 26, 2025
f17fa8b
lock pytest to 7.0
andrewelamb Aug 26, 2025
a41c69a
added exceptiongroup
andrewelamb Aug 26, 2025
b55ac52
added exceptiongroup
andrewelamb Aug 26, 2025
70ba14d
added tomli
andrewelamb Aug 26, 2025
7f0dc8a
upgraded to black 25.1.0
andrewelamb Aug 26, 2025
5aac78a
upgraded to black 25.1.0
andrewelamb Aug 26, 2025
102e9a9
added tomli to dev packages
andrewelamb Aug 26, 2025
98eccd2
add python3.12
andrewelamb Aug 26, 2025
8f2b4f6
add py 3.13
andrewelamb Aug 26, 2025
490193a
-m remove py 3.12, 3.13
andrewelamb Aug 26, 2025
d0ef7a0
add mac-os
andrewelamb Aug 26, 2025
a41d959
uncomment pytest section
andrewelamb Aug 26, 2025
cf2962b
cleanup check step
andrewelamb Aug 26, 2025
dc23305
add prepare job
andrewelamb Aug 26, 2025
e5ef94b
add prepare job
andrewelamb Aug 26, 2025
1ce19e4
update action version
andrewelamb Aug 26, 2025
37397a5
truncate prepare job
andrewelamb Aug 26, 2025
070d0d6
add to prepare job
andrewelamb Aug 26, 2025
16e28e4
add to prepare job
andrewelamb Aug 26, 2025
3501747
rmeove github token from keepalive step
andrewelamb Aug 26, 2025
ef30be0
add test2 workflow
andrewelamb Aug 26, 2025
46269f9
move workflow
andrewelamb Aug 26, 2025
f9e224b
ran pre-commit
andrewelamb Aug 26, 2025
6a143a6
update action version
andrewelamb Aug 26, 2025
dcee4fb
comment out failing test
andrewelamb Aug 26, 2025
0014925
run pre-commit
andrewelamb Aug 26, 2025
a5e72c1
add pypi job
andrewelamb Aug 26, 2025
609fe68
add verison to setup file
andrewelamb Aug 26, 2025
3b0098b
add docker publish workflow
andrewelamb Aug 27, 2025
5abd212
update github aciton versions
andrewelamb Aug 27, 2025
321ec96
add permissiosn to publish job
andrewelamb Aug 27, 2025
8129ca5
updated original workflow file
andrewelamb Aug 27, 2025
927c313
moved test file
andrewelamb Aug 27, 2025
f6a131f
redo top of workflow
andrewelamb Aug 27, 2025
3eddefb
chnage to trigger workflow
andrewelamb Aug 27, 2025
d12683c
chnage to trigger workflow
andrewelamb Aug 27, 2025
d610d6b
chnage to trigger workflow
andrewelamb Aug 27, 2025
4822f51
rename workflow
andrewelamb Aug 27, 2025
230a824
add back in all triggers
andrewelamb Aug 27, 2025
5b887d2
add back in commented/removed parts
andrewelamb Aug 27, 2025
8c1a074
uncomment windows as OS
andrewelamb Aug 27, 2025
9731b3b
recomment windows testing
andrewelamb Aug 27, 2025
4478e9f
update dev package versions
andrewelamb Aug 27, 2025
e7d6242
remove test ci files
andrewelamb Aug 27, 2025
8beb029
add todo items
andrewelamb Aug 27, 2025
1bbfea8
rename workflow file
andrewelamb Aug 27, 2025
f38d22d
rename workflow
andrewelamb Aug 27, 2025
8c90d2f
add todos
andrewelamb Aug 27, 2025
1dd0d1d
change version to 1.7.2.dev0
andrewelamb Aug 27, 2025
510661b
update version to 1.7.3
andrewelamb Aug 27, 2025
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
82 changes: 82 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Testing
on: [pull_request]

jobs:

prepare:
runs-on: ubuntu-latest
outputs:
wheel-path: ${{ steps.distribution-paths.outputs.wheel }}
tarball-path: ${{ steps.distribution-paths.outputs.tarball }}
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 0 } # deep clone for setuptools-scm
- uses: actions/setup-python@v4
with: { python-version: "3.11" }
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
- name: Install tox-gh plugin
run: python -m pip install tox-gh>=1.2
- name: Build package distribution files
run: tox -e clean,build
- name: Record the paths of wheel and source tarball distributions
id: distribution-paths
run: |
echo "wheel=$(ls dist/*.whl)" >> $GITHUB_OUTPUT
echo "tarball=$(ls dist/*.tar.gz)" >> $GITHUB_OUTPUT
- name: Store the distribution files for use in other stages
# `tests`, `pypi-publish`, and `docker-publish` will use the same
# pre-built distributions, so we make sure to release the exact
# same package that was tested
uses: actions/upload-artifact@v3
with:
name: python-distribution-files
path: dist/
retention-days: 1
- name: Keepalive Workflow
uses: gautamkrishnar/keepalive-workflow@1.1.0
with:
time_elapsed: 44
gh_token: ${{ secrets.GITHUB_TOKEN }}

test:
needs: prepare
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
platform:
- ubuntu-latest
- macos-latest
# TODO: Debug the Windows issues
# - windows-latest
env:
OS: ${{ matrix.platform }}
PYTHON: ${{ matrix.python }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/download-artifact@v3
with: { name: python-distribution-files, path: dist/ }
- name: Install tox-gh plugin
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run tests
env:
SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_AUTH_TOKEN }}
run: >-
tox --installpkg '${{ needs.prepare.outputs.wheel-path }}'
-- -rFEx --durations 10 --color yes
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
# CodeCov can be flaky, so this step is not required for success
fail_ci_if_error: false
files: coverage.xml
# Using matrix pattern from `codecov/codecov-action` README:
# https://github.com/codecov/codecov-action#example-workflowyml-with-codecov-action
env_vars: OS,PYTHON
verbose: true
Loading