diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c44ff85 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Test + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7"] + + steps: + - uses: actions/checkout@v4 + - 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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1585703..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: python -python: - - "3.7" -before_install: - - sudo apt-get update - - make system-dependencies -install: - - pip install wheel - - pip install codecov - - pip install -r requirements.frozen.txt -script: - - python -m pytest --cov=hermit --cov-config=tests/.coveragerc --ignore=vendor -after_success: - - codecov