diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 15:41:02 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 16:19:57 +0100 |
commit | d15b65b8331f2c8b783964fac4326d44170cf4e6 (patch) | |
tree | 96876f3b75935396158d95941906232ef6f8a631 /.github/workflows/check.yml | |
parent | 9b1681d6b407746898b18276eac0b0b48ee543fd (diff) | |
download | semantic-version-d15b65b8331f2c8b783964fac4326d44170cf4e6.tar.gz |
Prepare switch to github actions
Diffstat (limited to '.github/workflows/check.yml')
-rw-r--r-- | .github/workflows/check.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..dc16848 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,31 @@ +name: Check + +on: + - push + - pull_request + +jobs: + build: + name: ${{ matrix.tox-environment }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + tox-environment: + - lint + + env: + TOXENV: ${{ matrix.tox-environment }} + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + + - name: Install dependencies + run: python -m pip install tox + + - name: Run + run: tox |