Skip to content

Commit

Permalink
gh actions inlocuieste Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vimishor committed Aug 31, 2023
1 parent 129c6b1 commit 63cf681
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ skip = runtests.py,build
balanced_wrapping = true
not_skip = __init__.py

[.travis.yml]
[*.yml]
indent_size = 2
indent_style = space
insert_final_newline = false
Expand All @@ -38,4 +38,4 @@ insert_final_newline = false
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
indent_size = 8
indent_size = 8
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
id: cp310
with:
python-version: "3.11"
cache: 'pip'
- name: Install dependencies
if: steps.cp310.outputs.cache-hit != true
run: make install-deps
- name: Run tests
env:
TEST_ARGS: "--src data/ --verbose"
run: make test
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 63cf681

Please sign in to comment.