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 9236c94
Show file tree
Hide file tree
Showing 2 changed files with 10 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
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ jobs:
runs-on: ubuntu-latest
container: debian:bullseye
steps:
- name: Install Debian package dependencies
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip python3-venv sudo git git-lfs
- uses: actions/checkout@v4
- name: Install dependencies
with:
lfs: true
- name: Install Python test dependencies and run tests
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip
make install-deps
# python3 -m venv .venv
# . .venv/bin/activate
pip install -r test-requirements.txt
- name: Run lint checks
run: |
make lint
make test

0 comments on commit 9236c94

Please sign in to comment.