Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: swap travis for github actions #59

Merged
merged 6 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-20.04
robertshuford marked this conversation as resolved.
Show resolved Hide resolved
strategy:
matrix:
python-version: ["3.7"]

steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: System Dependencies
run: sudo apt-get update; make system-dependencies
- name: Install Python Deps
run: pip install wheel codecov
- name: Install Requirements
run: pip install -r requirements.frozen.txt
- name: Run Tests
run: python -m pytest --cov=hermit --cov-config=tests/.coveragerc --ignore=vendor
- name: Coverage
run: codecov
14 changes: 0 additions & 14 deletions .travis.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose we remove Travis in a separate PR and repurpose this PR to be just the addition of GitHub actions. That way we can cleanly get off Travis and leave this unmerged until we fix the tests in GH actions issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, done in 2cc5334.

This file was deleted.

Loading