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 c6bb100
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 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
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ jobs:
container: debian:bullseye
steps:
- uses: actions/checkout@v4
- name: Install dependencies
with:
lfs: true
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip
apt-get update && apt-get install --yes --no-install-recommends make python3-pip sudo
pip install -r test-requirements.txt
- name: Run lint checks
run: |
make lint
make lint
- name: Run tests
run: |
make install-deps
make test

0 comments on commit c6bb100

Please sign in to comment.