Skip to content

Commit

Permalink
Moving CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmorgan committed Aug 11, 2023
1 parent c92c766 commit 479c520
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 44 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,38 @@
name: build

# Controls when the action will run.
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
python-version: ['3,7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -U numpy
pip install mypy
pip install types-PyYAML
pip install pytest
pip install pytest-cov
pip install .
pip list
- name: Run tests
run: |
pytest --cov-config=.coveragerc --cov=vasppy --cov-report lcov
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
path-to-lcov: ./coverage.lcov
github-token: ${{ secrets.GITHUB_TOKEN }}
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

0 comments on commit 479c520

Please sign in to comment.