Skip to content

Commit

Permalink
ci: use github actions instead of gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Elodie Thiéblin committed Aug 17, 2023
1 parent 1c68ca9 commit 27abf1c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 39 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Test

on: pull_request

jobs:
lint:
name: Linting and formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
name: Install Python
with:
python-version: "3.x"

- name: Install tox
run: python -m pip install tox

- name: Run test suite
run: python -m tox -p -e flake8,black,yamllint

test_tox:
name: Run full tests
needs: lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
name: Install Python
with:
python-version: "3.x"
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: "latest"

- name: Install node modules
run: npm ci

- name: Install tox
run: python -m pip install tox

- name: Run test suite
run: python -m tox -e py3
39 changes: 0 additions & 39 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 27abf1c

Please sign in to comment.