diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2019-09-22 08:37:22 +0200 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2019-09-22 08:47:38 +0200 |
commit | e89ef40611160a354d708d288e87bb7439c729dd (patch) | |
tree | 5bc95c171a72c267376ad24a79ae8c99e525413d /.github | |
parent | c3fdd7bcf01b317f242efc3525afca44aa199924 (diff) | |
download | pygments-git-e89ef40611160a354d708d288e87bb7439c729dd.tar.gz |
Add GitHub actions workflow.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 00000000..205931d1 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Pygments + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [2.7, 3.5, 3.6, 3.7] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Update pip + run: | + python -m pip install --upgrade pip + - name: Test package + run: | + pip install -r requirements.txt + pip install . + make test |