Skip to content

Commit

Permalink
Migrate make test tests to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Apr 18, 2024
1 parent c745098 commit fd7278c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
15 changes: 0 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,6 @@ common-steps:
version: 2.1

jobs:
lint-and-test:
docker:
- image: debian:bullseye
steps:
- checkout
- *installdeps
- *installtestdeps
- run:
name: install test requirements, run linters, and run tests
command: |
source .venv/bin/activate
sed -i -re "292s/^(\s+).*\$/\1return _.prepend_to_build_command_raw('')/" /usr/lib/python3/dist-packages/reprotest/build.py
make test
reprotest-wheels:
docker:
- image: debian:bullseye
Expand All @@ -54,7 +40,6 @@ jobs:
workflows:
builder_ci:
jobs:
- lint-and-test
- reprotest-wheels

nightly:
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ jobs:
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
- uses: actions/checkout@v4
- name: Install dependencies
with:
lfs: true
- name: Install additional packages and Pyython dependencies
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip
pip install -r test-requirements.txt
- name: Run lint checks
# Installs Python & bootstrap wheels, and initializes a virtualenv at .venv
make install-deps
./venv/bin/pip install -r test-requirements.txt
- name: Run tests
run: |
make lint
. ./venv/bin/activate
make test

0 comments on commit fd7278c

Please sign in to comment.