Skip to content

Commit

Permalink
Try actions with Earthly instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Jul 9, 2024
1 parent dc68855 commit 695bdde
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,14 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install -r requirements.txt
sudo apt-get install -y debhelper dh-python python3-all
- name: Lint
continue-on-error: true
run: |
ruff format --check
ruff check
- name: Build and install stdeb
run: |
python setup.py --command-packages=stdeb.command bdist_deb
for f in deb_dist/*.deb; do echo; echo $f; dpkg --contents $f; done
sudo dpkg -i deb_dist/*.deb
- name: Set up Earthly
uses: earthly/actions-setup@v1
- name: Run tests
run: |
sudo -E bash -x ./test.sh
earthly --ci +test
- name: Run pypi-install tests
run: |
sudo -E bash -x ./test-pypi-install.sh
earthly --ci +test-pypi-install
- name: Run 2and3 tests
run: |
sudo -E bash -x ./test2and3.sh
earthly --ci +test-2and3

0 comments on commit 695bdde

Please sign in to comment.