-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Migrate
make test
and make reprotest
to GitHub Actions
- Loading branch information
Showing
3 changed files
with
47 additions
and
74 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 6 * * *" | ||
|
||
jobs: | ||
checks: | ||
runs-on: ubuntu-latest | ||
container: debian:bullseye | ||
steps: | ||
- name: Bootstrap Debian system package dependencies | ||
run: | | ||
apt-get update && apt-get install --yes --no-install-recommends make sudo git git-lfs ca-certificates | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Install additional packages and Python dependencies | ||
run: | | ||
# Installs Python & bootstrap wheels, and initializes a virtualenv at .venv | ||
make install-deps | ||
./.venv/bin/pip install -r test-requirements.txt | ||
- name: Test wheel reproducibility | ||
run: | | ||
git config --global --add safe.directory "*" | ||
adduser --system ci --ingroup root | ||
chown ci:root -R . | ||
sudo -u ci bash -c "source .venv/bin/activate && pytest -vvs tests/test_reproducible_wheels.py" |